How to download file to local PC use ftp?



IBM's Command List programming language & Restructured Extended Executor

How to download file to local PC use ftp?

Postby marshall25 » Mon Oct 28, 2013 11:58 am

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?
marshall25
 
Posts: 26
Joined: Mon Jun 20, 2011 9:14 am
Has thanked: 0 time
Been thanked: 0 time

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

Postby Akatsukami » Mon Oct 28, 2013 3:07 pm

There is none.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

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

Postby Ed Goodman » Mon Oct 28, 2013 7:10 pm

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)?
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

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

Postby dick scherrer » Mon Oct 28, 2013 10:22 pm

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post