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

Are the function modules same for FTP & FTPS to transfer files

Former Member
0 Likes
866

Hi every one,

I understood the difference between FTP & FTPS.

But my doubt is can we make use of the function modules of FTP for FTPS also to transfer files.

i.e, can we make use of the following function modules for FTPS also

FTP_CONNECT

FTP_R3_TO_SERVER

FTP_DISCONNECT

If not, do we have any other function modules available for FTPS or any other procedure to transfer files from SAP to other server using FTPS.

Regards,

Tom

Edited by: tom123 on Oct 21, 2009 2:02 PM

Edited by: tom123 on Oct 21, 2009 2:08 PM

Hi every one,

I understood the difference between FTP & FTPS.

But my doubt is can we make use of the function modules of FTP for FTPS also to transfer files.

i.e, can we make use of the following function modules for FTPS also

FTP_CONNECT

FTP_R3_TO_SERVER

FTP_DISCONNECT

If not, do we have any other function modules available for FTPS or any other procedure to transfer files from SAP to other server using FTPS.

Regards,

Tom

Edited by: tom123 on Oct 21, 2009 2:02 PM

Edited by: tom123 on Oct 21, 2009 2:08 PM

3 REPLIES 3
Read only

venkat_o
Active Contributor
0 Likes
662

Process Flow. <li>RFC destination for FTP should be maintained in transaction SM59. <li>Get the host name or ip address of the remote server. Get the user id and password of the RFC user (these can be maintained in a custom Z table). <li>Scramble the password by calling function module 'HTTP_SCRAMBLE'. This scrambed password needs to be used for making the FTP connection. <li>Establish FTP connection by calling FM 'FTP_CONNECT'. <li>Issue FTP commands by calling function module 'FTP_COMMAND'. <li>Finally close the connection by calling function module 'FTP_DISCONNECT' Thanks Venkat.O

Read only

Former Member
0 Likes
662

Hi Venkat,

Thanks for the reply. Its good input for me.

But my question is are FTP & FTPS are same?

can we make use of the function modules given by you for FTPS?

If not any other procedure?

Thanks,

Tom

Read only

JoffyJohn
Active Contributor
0 Likes
662

FTP connections of the File/FTP adapter can be secured by using FTPS, which is FTP over SSL/TLS.

FTPS requires CA certificate

do check this link[help doc ftp|http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm]

[ftp configraton|http://help.sap.com/saphelp_nwpi71/helpdata/en/44/69d7cfa4b633eae10000000a1553f6/content.htm]