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
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