2006 Dec 05 3:10 PM
Can the FTP solution that is described within this forum be run in foreground mode or does it have to be background. When I do a lcd command its pointing to my local pc and not the SAP app server where the file resides. I'm just trying to FTP a file from the App server to a non sap server.
Thanks and will reward points for any help.
Richard
2006 Dec 05 3:13 PM
u can run in foreground as well as in background...FTP works in both the sessions. In FTP u need to specify the ip address, user name, password so as that particular location file will be accessed.
Message was edited by:
Ramesh Babu Chirumamilla
Can the FTP solution that is described within this forum be run in foreground mode or does it have to be background. When I do a lcd command its pointing to my local pc and not the SAP app server where the file resides. I'm just trying to FTP a file from the App server to a non sap server.
Thanks and will reward points for any help.
Richard
2006 Dec 05 3:13 PM
u can run in foreground as well as in background...FTP works in both the sessions. In FTP u need to specify the ip address, user name, password so as that particular location file will be accessed.
Message was edited by:
Ramesh Babu Chirumamilla
2006 Dec 05 3:13 PM
As per my understanding, the requirement is to transfer file from one server to other. To do so, please proceed as below:
1. Use FM: FTP_CONNECT twice, once to connect Source server and Once to Destination Server.
2. Use FM: FTP_COMMAND with command: put <source dir/file> <dest dir/file>.
3. Use FM: FTP_DISCONNECT to close the connections.
Hope this helps.
Manish
2006 Dec 05 3:40 PM
2006 Dec 05 4:19 PM
Does anyone know why its pointing to my local SAP WorkDIR as the ftp source and not the app server. Thats why I asked if this needs to be run in background.
Also, I don't have 2 distinct servers to connect to. My program is already running on the SAP App server.
Does anyone have any actual working examples. All the examples posted just show connecting and doing a FTP command.
Thanks
2006 Dec 05 4:27 PM
Hi Richard
Though we are running in foreground, i just know that we need to connect to both servers to execute the command.
This will be useful even when the servers use LOAD BALANCING concept. Suppose the application server has a group of servers, the request can execute in a particular server so using the above method we can point to the right server and execute the commands.
Kind Regards
Eswar
Message was edited by:
Eswar Rao Boddeti
2006 Dec 05 3:21 PM
Hi,
Programs : <b>RSFTP010, RSFTP020, RSFTP030</b>.
Among the three RSFTP020 has all the FTP paramaters as input and
is more user friendly.
Input paramaters and their use is
User
Password
Host
Command 1 lcd
Command 2 cd
Command 3 put
Destination SAPFTP
Regards
Sudheer
2006 Dec 05 3:24 PM
I want to FTP from the SAP app. server to a foreign server. Whenever I do a lcd it points to my SAP WORKDIR on my local PC.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |