Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recursive FTP in AIX 5.2?

Status
Not open for further replies.

apache7

Programmer
Aug 28, 2002
4
US
Gurus, I am using the ftp client on an AIX 5.2 server to mget* files from a win2k server. Here is a sample of what is happening. Please note the real data would include hundreds of files:

ftp> nlist
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
05-18-04 11:04AM <DIR> bk
05-18-04 09:10AM 363 e00000000003346
#
226 Transfer complete.
ftp> mget *
200 PORT command successful.
150 Opening ASCII mode data connection for bk/e00000000002797(363 bytes).
#
226 Transfer complete.
363 bytes received in 0.003615 seconds (98.06 Kbytes/s)
local: e00000000002797 remote: bk/e00000000002797
200 PORT command successful.
150 Opening ASCII mode data connection for e00000000003346(363 bytes).
#
226 Transfer complete.
363 bytes received in 8.8e-05 seconds (4028 Kbytes/s)
local: e00000000003346 remote: e00000000003346
ftp>

My problem is that I do NOT want the file(s) in the bk subdirectory to be included in the mget. Is there an easy way to turn off this recursive property? Any help or suggestions on this question is greatly appreciated!

Apache7
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top