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 Considerations

Former Member
0 Kudos

Hi,

I need to transfer one file to FTP Server.

Can nebody suggest me a checklist for this. What r things I should check. How should I go about it.

The checklist may be like I have to create a RFC Destination to the RFC server and know the user/pwd then them different FMs used or the FTP commands I can use to send the file

Thanks

10 REPLIES 10

FredericGirod
Active Contributor
0 Kudos

Hi Nitin,

there are standard function to make FTP transfert, please use the search options of the forum

Rgd

Frédéric

Former Member
0 Kudos

Use FMs : FTP_CONNECT, FTP_COMMAND, FTP_DISCONNECT

Check the prog RSEPSFTP.

athavanraja
Active Contributor
0 Kudos

check out this weblog for details.

<a href="/people/thomas.jung3/blog/2004/11/15/performing-ftp-commands-from-abap">Performing FTP Commands From ABAP</a>

Regards

Raja

andreas_mann3
Active Contributor
0 Kudos

Hi,

or use sample-program <b>rsftp004</b>

Andreas

0 Kudos

I have details of the FTP Server on which I need to download the file.

So do I have to create a RFC destination for the same ?

Also on this FTP Server I need to download the file in particular folder

Ne suggestions ?

Thanks

0 Kudos

I think you go in the wrong way, FTP didn't need any RFC destination, is it not the same protocol.

So forget the RFC destination, and look the program and the function peoples give you. You will have all the parameters you would like : host, destination, ftp type .......

Rgd

Frédéric

0 Kudos

RFC destintations are delivered ones

SAPFTP

SAPFTPA

you dont need to create them.

Regards

Raja

0 Kudos

Hi Raja,

This is really helpful answer. But will it be possible for u to elaborate further ?

What impression I am having is

1. If I am to use fm 'FTP_CONNECT' I need to pass RFC Destination as a parameter.

2. The RFC destination parameter represents the machine or the FTP server where to which we are connecting.

3. So we need to create another RFC destination providing the details like hostname or IP address. And this IP address I can pass as a parameter.

4. If I use SAPFTP as destination what machine will it represent ? As if I see it using SM59 I dont see ne settings made other than one program name

Kindly clear the confusions

Thanks

0 Kudos

Hi Nitin,

You can see them in TCP/IP connections in SM59

transaction.

Thanks&Regards,

Siri.

0 Kudos

did you read weblog i have mentioned?

use RFC destination SAPFTA

Regards

Raja

Reward the helpful answers by clicking the radio button