cancel
Showing results for 
Search instead for 
Did you mean: 

file adapter put command

Former Member
0 Kudos

Hi everyone,

Does anyone know what kind of put statment the adapter creates to write files to a ftp? How can I see the exact command executed?

And is there any possibility to change this command manually? Using advanced mode etc.

Thanks...

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Go through this wiki to get some idea..

http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature

Below is the source code taken from above wiki where put commant has been used to write the file. Change the code as per your need..

Script File  Batch.txt

======================

open 10.4.71.145
mmdftp
Eimskip123
cd /TestSource
get TestData1.xml
cd /TestTarget
put TestData1.xml

quit

Also have a look on page 11 of this article to know FTP command..

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/bd994384-0a01-0010-92b5-c54f5a1d8...

Former Member
0 Kudos

>>And is there any possibility to change this command manually? Using advanced mode etc.

AFAIK this is not possible. If you can let us know why you are looking for this information, may be we can help you.

Regards

Jai