04-17-2008 4:33 AM
Hi friends
i am sending file from SAP Application server AL11 to external systems using FTP commands in one program
i connected to FTP using FTP_connect, then using FTP_command put
i am sending the file from local systems (SAP) to external systems (non SAP)
concatenate 'put' gv_local_file gv_remote_file '(''replace' into gv_command2 separated by space.
translate gv_command2 to lower case.
but i am getting ftp command error
Executing FTP Command
call function 'FTP_COMMAND'
exporting
handle = gv_hdl
command = gv_command2
tables
data = gi_text
exceptions
tcpip_error = 1
command_error = 2
data_error = 3
others = 5.
i think the problem is due to put command , i assume its not taking file from application server,
please let me know, if any one have solution
thanks
Anil
Edited by: Anilkumar p on Apr 18, 2008 7:23 AM
04-18-2008 2:23 PM
Hi,
If you assume its not taking file from application server then why not test it with the file on the presentation server? Atleast you will know if that works.