Application Development and Automation 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: 
Read only

Error while using FTP_command to transfer files from FTP server

Former Member
0 Likes
1,204

Hi all,

My requirement is to transfer excel file from FTP server location.

1) For that I have used FM: FTP_connect to establish connection to FTP server.

2) After that I have used FM: FTP_command and with the command "CD FTP_directory_path" ia have set the source file directory in FTP location.

3) My problem is, when I am trying to set the local sap in bound directory using the command "LCD sap_inbound_directory_path". I am getting error "errno 2: no such file or directoty".

I have tried to resolve that with the help of our BASIS consultant, but the still the problem persists.

Please help!

Thanks,

Rajan U

4 REPLIES 4
Read only

mithun_shetty4
Contributor
0 Likes
650

For inbound transfer to SAP

U can try the following cd <FTP Directory>

then lcd <SAP Path created in Al11 Check if this is created in SAP >

u can try this from command prompt if this is a windows FTP. if this isn't working there then probably a port needs t be opened between SAP appl server and FTP for communication.

get <Source file in FTP> <Destination file in SAP>

Read only

Former Member
0 Likes
650

Solved on my own

Read only

Former Member
0 Likes
650

I have changed FTP destination SAPFTPA

Read only

0 Likes
650

Rajan Usman Basha / All,

Even I am getting same error though i changed the RFC_DESTINATION to SAPFTPA.

what will be the solution?

thanks in advenace.

Thanks,

Suresh Yerra