Guarnted delivery with FTP

In webMethods B2B Server there are some services which helps you to call a service on another B2b Server with option of Guarnteed Delivery. I understand that part and I know how to use tose services.
My question is how can I use those services to ensure guarnteed delivery when I want to exchangea document with our partner thorugh FTP(i.e. in case our partner do not have wM Partner server)? Is there any way to ensure that my document will be delivered throguh FTP eith the help of Job Manager in B2B Server.


I’m not aware of GD for FTP sessions using the B2B Server. You can implement a flow similar to the attached to catch the return code.
Flow Detail

    1    SEQUENCE 
                1.1    try: SEQUENCE 
                            1.11    INVOKE pub.client:ftp 
                                       Pipeline In  Service In 
 command  "put"  

remoteDir dirpath
transfermode “binary”
transfertype “active”
response content
remoteFileName remotefile
sendAddr serverhost
sendPort serverport
login username

                                       Service Out  Pipeline Out 

                            1.12    BRANCH on '/returncode' 
                                        1.121    221: MAP 
                                                   returncode = 221 if ftp is successful  

                                                   Source  Destination 
 ftpResult  "1"  

                                        1.122    $default: EXIT 'try' 
                                                   ftp unsuccessful  

                1.2    catch: SEQUENCE 
                            1.21    INVOKE pub.flow:getLastError 
                            1.22    MAP 
                                       Source  Destination 

lastError (exceptionInfo)
pipeline savedpipeline
lastError (exceptionInfo)
error returncode
lastError (exceptionInfo)
alertSubject “SEI Alert: ftp error to customer “%custSysId%””
lastError (exceptionInfo)
error alertMessage
ftpResult “0”

                            1.23    INVOKE SEI.dbutil:updateSiteStatus 
                                       Pipeline In  Service In 
 status  "DOWN"  

                            1.24    INVOKE 
                                       Pipeline In  Service In 
 alertType  "B"  

alertSubject subject
alertMessage message

                                       Service Out  Pipeline Out