Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

1 REPLY 1

che_eky
Active Contributor
0 Kudos

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.