Are those files in the same directory. If it is so, you can follow the instructions given to me by the Tek-Tips ppl. long time ago..
You can then mget * everything within a dir without being prompted.
To transfer a whole folder and everything in it, your best bet is to 'tar' the folder from the directory above it using:
#tar -cvf transfer.tar <folder_name>
and then ftp the resulting file (ie transfer.tar) to the recipient server. Place the tar file in the filesystem above where you want to create the folder and issue the extract command:
#tar -xvf transfer.tar
You can check the contents of a tar file (without restoring the files) using
#tar -tvf transfer.tar
A tip: use relative path names with tar, it makes things so much easier when you tar relative to current dir. Use wget or curl. You can get a whole bunch of files with'em
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.