12-10-2009 7:39 AM
Hi,
I am trying to test some FTP Functionality in ABAP.
For that, I am calling Function Module FTP_CONNECT.
But I am not sure what data I need to pass to tha Function Module.
I mean the User Name, Password, Host and RFC Destination.
I am passing 'SAPFTP' in the RFC Destination. (This RFC Destination is successful in Connect Test)
In Host, I am passing the 'sapdev' , (The hostname of SAP Application Server)
But I am not sure about User Id and Password. Will it be my SAP User Id and Password??
As my SAP User Id and Password did not work when I used them.
Can I connect to a peer PC?
If yes which all parameters I need to pass in User Id, Password, and Host fields?
12-10-2009 8:40 AM
Hi,
The user id and password should be the FTP userid and psw.
If you want to use FTP, first you should get its' useid and pew.
for Host field should also come from FTP.
data: user(30) type c value 'julie',
pwd(30) type c value 'julie',
host(64) type c value '9.125.77.95',
key type i value 26101957.