Now Click the ' Next' button choose the Installation folder where the FTP Server will be deployed and where all FTP Interactions will take place. In the Next screen(' Choose Components') ,select all options apart from the ' Source Code' option.
Click the 'I Agree' button to Agree to the terms of the license and move forward to the next step. Double Click the installer to Kickstart the Installation procedure. (2) SAPFTPA(For invoking the RFC library on the SAP Netweaver AS ABAP host)Īfter Downloading the FileServer executable file(in our case it is FileZilla_Server-0_9_41.exe).
(1) SAPFTP(For invoking the RFC library on the SAP GUI frontend) Instead of configuring it manually via the transaction ' SM59'(Configurations of RFC connections),it automatically creates the following two RFC destinations: There is a standard report for that purpose called: You need to create RFC destinations for FTP communications. For creating RFC Destinations for FTP communications: Used to download a file from the FTP host.įor Disconnecting RFC connection between SAP and FTP.ĭestination = lc_rfc_dest"RFC Destination host.e.g:SAPFTPA Used to upload a file from the front-end. Used to transfer a file down to the front-end. Some of the commands includes the likes of ' PWD'(for Printing the contents of the Current Working Directory),' QUIT'(For Logging out the user currently connected to the FTP server via the 'FTP_CONNECT' function module) e.t.c. For a complete list of supported FTP commands on an FTP host,you can execute the help command. Used to execute an FTP command on the FTP host. NOT_CONNECTED = 1* "FTP connection failed* HANDLE = HANDLE* "For performing subsequent operations for the connected FTP Session* RFC_DESTINATION = 'SAPFTPA' or 'SAPFTP' "SAPFTPA = for background access to FTP Host server or SAPFTP = for front end access to FTP Server HOST = lv_host_ip* "IP Address of the host FTP Server.In case of Server host name,it is case sensitive*
PASSWORD = lv_password* "This password could also be scrambled via the HTTP_SCRAMBLE function module* USER = lv_user*" This user name is case sensitive* *" VALUE(GATEWAY_PASSWORD) TYPE C OPTIONAL *" VALUE(RFC_DESTINATION) LIKE RFCDES-RFCDEST Used for connecting to an FTP host,returns a handle that is used to bind subsequent commands to the session.
Some useful function modules that are part of the SAPFTP Library include: