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

sftp server

Former Member
0 Likes
997

Guy's

following is the requriment,which i got from the user,

pls help me, how should i proceed with this issue.pls consider this as urgent ,since previously

i was reading file from application server (Tcode:AL11),

which they don't wont me to read because of following reason

<b>requriment</b>(documents are stored in an sftp location, we cannot store them on the application servers for space constraints. Therefore please prepare the SAP sync program to read files from the sftp location.)

5 REPLIES 5
Read only

Former Member
0 Likes
852

Hi,

in this case you need to connect to FTP server, and then Read the file using FTP commands.

Regards

Vjay

Read only

0 Likes
852

how to read the file using ftp command

Read only

Former Member
0 Likes
852

Hi Sanju,

There is no difference between reading a file from application server or SFTP server. You can use the same OPEN DATASET, READ/TRANSFER DATASET and CLOSE DATASET concepts.

The reason why User asked you to load it onto SFTP location is may be he might SFTP that file to a different Location/Server.

SFTP is nothing but an FTP but a Secure FTP which is Built on SSL Protocol. If the user wants to SFTP it from the SFTP server then he will be using sftp command in the UNIX Shell Script.

Hope this will give you some information to start off or clarify a few of your doubts with the User.

Thanks & Regards,

Joseph Reddy

Read only

0 Likes
852

thank's buddy for that answer,but are you sure

that i am going to use AL11 TRANSCATION,AND NOTHING ELSE,

can u give more detail ,of how user will upload file

to sftp server ,and how i am going to access it

Read only

ferry_lianto
Active Contributor
0 Likes
852

Hi Sanju,

Please try this FM:

<b>RZL_READ_FILE

RZL_READ_FILE_REMOTE

RZL_READ_FILE_REMOTE_SH</b>.

Hope this will help.

Regards,

Ferry Lianto