Page 1 of 1

How to download file to local PC use ftp?

PostPosted: Mon Oct 28, 2013 11:58 am
by marshall25
hi all,

i have a rexx to do the ftp.
 
SERVER = '111.111.11.11'
NAME = 'usr01'       
PWD = 'pwd01'       
DIR = '/'
                       
QUEUE "FTP" SERVER     
QUEUE NAME             
QUEUE PWD               
QUEUE "CD" DIR
QUEUE "GET 'IBM.SOURCE(TEST)' TEST" 
QUEUE "QUIT"         


after i run the rexx, the download program TEST will goto under usr01, shows: usr01.test,
my question is how to specify the ftp download path to my local pc?

Re: How to download file to local PC use ftp?

PostPosted: Mon Oct 28, 2013 3:07 pm
by Akatsukami
There is none.

Re: How to download file to local PC use ftp?

PostPosted: Mon Oct 28, 2013 7:10 pm
by Ed Goodman
I'm a little confused. Are you running the rexx on your PC? If so, which REXX interpreter are you using? What is the underlying operating system (XP/Win7/Linux)?

Re: How to download file to local PC use ftp?

PostPosted: Mon Oct 28, 2013 10:22 pm
by dick scherrer
Hello,

If you are running an ftp client on your pc, all you need to do is to point the target to the directory/file you want to write into.

Possibly i misunderstand. . .