Question & Answer
Question
Put and Multiple Put (mput) Commands
Answer
Put and Multiple Put (mput) Commands
Use the put command to upload filesto Sterling B2B CollaborationNetwork.Use the Multiple Put (mput) command with thewildcard character (*) to upload multiple files.
SomeFTP clients require you to manually acknowledge each file name whenexecuting the mput command. This makes automating FTP scripts difficultbecause it requires you to be present when the script is executed.You can usually turn off this feature by sending the prompt commandprior to any mputcommand.
Sample put Command
The following is a sampleFTP session using the put command.
Client command:
put output.edi
Serverresponse:
200 PORT command successful.150 Opening data connection.226 Transfer complete. 715 bytes sent.
Sample mput Command
The following is a sampleFTP session using the mput command to uploadall files ending with .edi.
Client command:
mput *.edi
Serverresponse:
200 PORT command successful.150 Opening data connection.226 Transfer complete. 1215 bytes sent.200 PORT command successful.150 Opening data connection.226 Transfer complete. 406 bytes sent.200 PORT command successful.150 Opening data connection.226 Transfer complete. 52369 bytes sent.
Embedded $$ADD Commands
Some translatorsoftware packages automatically prepend a $$ADD commandto outbound files sent to Sterling B2B CollaborationNetwork.The presence of this command within a data file causes the file tofail during EDI processing. Your account can be configured to stripembedded $$ADD commands. Contact Customer Supportto request this change.
Was this topic helpful?
Document Information
More support for:
Sterling Total Payments for Financial Services
Software version:
All Versions
Document number:
758543
Modified date:
08 December 2018
UID
ibm10758543