Skip to Content
0
Former Member
Apr 17, 2008 at 03:33 AM

FTP command error when sending file from Application server to remote sys

78 Views

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