I'm a novice user trying to figure out how to transfer a 48 Gb directory (from the Mac Terminal command line) that contains multiple sub-directories, which themselves contain multiple directories, ... I'd like to not have to confirm the transfer of each sub-directory with a 'y/n' prompt.
-
ftp -i turns off prompts. mget * gets all the files.
Microsoft Windows [Version 6.1.7000] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\so>ftp -i **hostname** Connected to hostname. 220 Microsoft FTP Service User (hostname:(none)): **username** 331 Password required for username. Password: 230 User username logged in. ftp> **cd logs** 250 CWD command successful. ftp> **ls** 200 PORT command successful. 150 Opening ASCII mode data connection for file list. meetmap.com 226 Transfer complete. ftp: 115 bytes received in 0.01Seconds 11.50Kbytes/sec. ftp> mget * 200 Type set to A. 200 PORT command successful. 150 Opening ASCII mode data connection for meetmap.com/ex090131.log (5490 bytes). 226 Transfer complete. ... (bunch more files) ftp> **quit** 221 C:\so>
Ry : feel free to vote mark this as an accepted answer. -
ncftp should to be able to recursively get files. Alternatively, use any of infinite graphical drag and drop ftp clients.
-
Use
mput *
ormget *
. When asked for confirmation, typea
instead ofy
. This is the same as answeringy
for every single file for one command.You can also change the prompting behavior using the
prompt
command.You will find more information in the man page. In Terminal type:
man ftp
BTW, this isn't really a programming question.
0 comments:
Post a Comment