IBM Support

Put and Multiple Put (mput) Commands

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.


"
[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

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

Manage My Notification Subscriptions