2007 Mar 14 6:46 AM
hello everyone,
in an internal table i have around 100 records each of length around 3500 chararters. i want to send this data to the client via ftp in the form of txt file. since the lenght of each record exceeds 1000 bytes, i thought of sending the data directly to the ftp server without creating the file on the application server. is this feasible. please provide the necessary steps to achieve this.
2007 Mar 14 7:29 AM
Hello Pramod,
You can use the FM FTP_R3_TO_SERVER to send a file directly to another server.
Regards,
John.
hello everyone,
in an internal table i have around 100 records each of length around 3500 chararters. i want to send this data to the client via ftp in the form of txt file. since the lenght of each record exceeds 1000 bytes, i thought of sending the data directly to the ftp server without creating the file on the application server. is this feasible. please provide the necessary steps to achieve this.
2007 Mar 14 7:09 AM
Hi,
The FTP involves a lot of complexity but you can do the SCP(secure copy) instead. And what u can do is first create a file on application server and then u can delete it...
the sample code is below..
#!/bin/ksh
scp <filename> <destination>
rm -f <filename>
2007 Mar 14 7:29 AM
Hello Pramod,
You can use the FM FTP_R3_TO_SERVER to send a file directly to another server.
Regards,
John.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |