Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8372

Re: How to send files to a windows FTP server

$
0
0

Hi Ramana,

 

So, assuming you have a job chain. In the first step, called "Get Spool" you call an ABAP job (first job in step). In step two, called "FTP spool" you have a CMD job definition as follows:

 

jtool getfile -j -o stdout.new -s "Get Spool, Job 1:someSpool.txt"

jftp put -ascii myhostname myusername mypassword stdout.new /path/to/write/file/filename

 

Not a one-liner, but not too complex either. You would need the name of the spool file, but that should never change from job to job, I hope ;-).

 

Regards,

 

HP


Viewing all articles
Browse latest Browse all 8372

Trending Articles