ABAP FTP_CONNECT with anonymous access

Hi,

I try to connect to an FTP server using ABAP. I want to connect with user/password, so I use the user anonymous with an email-Adresse as password.

The code looks like the following:

 

call function ‘FTP_CONNECT’
exporting
user = ‘anonymous’
password = ‘[email protected]
host = ‘95.31.30.236’
rfc_destination = ‘SAPFTP’
importing
handle = hdl.

 

However, I when execute the programm, I get get the error

User anonymous is not allowed on 95.31.30.236.

But connecting to this server server using FileZilla with the same credentials, works well. So anonymous connection is allowed.

 

Any suggestions how to connect via ABAP using anonymous user?

Thx!

 

 

 

 

Scroll to Top