Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FTP without creating files on Application server

Former Member
0 Likes
378

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
359

Hello Pramod,

You can use the FM FTP_R3_TO_SERVER to send a file directly to another server.

Regards,

John.

2 REPLIES 2
Read only

Former Member
0 Likes
359

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>

Read only

Former Member
0 Likes
360

Hello Pramod,

You can use the FM FTP_R3_TO_SERVER to send a file directly to another server.

Regards,

John.