bessie1215
asked on
min. number of FTP commands to get all files from a folder and all its subfolders
Hi Experts,
How to use min. number of FTP commands to get all files from a folder and all its subfolders?
Thanks
How to use min. number of FTP commands to get all files from a folder and all its subfolders?
Thanks
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
i dont think so.
if you used a ftp program you could do it
if you used a ftp program you could do it
Hi bessie,
mget -i *
Here is the full list of Windows FTP commands. Might be better to put these commands into a file and use the -s switch...
http://www.nsftools.com/tips/MSFTP.htm#mget
mget -s:myFtpCommands.txt
mget -i *
Here is the full list of Windows FTP commands. Might be better to put these commands into a file and use the -s switch...
http://www.nsftools.com/tips/MSFTP.htm#mget
mget -s:myFtpCommands.txt
Before logging onto ftp server, pull up a shell or dos window and change directory to the folder where you want to download to:
cd c:\temp
Then log onto ftp server by doing:
ftp 192.168.0.23 ...opening
Then provide criteria:
user (192.168.0.23): myusername
Password: mypassword
Change directory to the files you want
cd /ftpfolder
Then "get" filename
get myfilename
or
get *
Then close
close
Lastly quit
quit
cheers
rc
cd c:\temp
Then log onto ftp server by doing:
ftp 192.168.0.23 ...opening
Then provide criteria:
user (192.168.0.23): myusername
Password: mypassword
Change directory to the files you want
cd /ftpfolder
Then "get" filename
get myfilename
or
get *
Then close
close
Lastly quit
quit
cheers
rc
you may want to include:
"lcd c:\downloads" (or whatever) to tell it where to put the files too.
Max.
"lcd c:\downloads" (or whatever) to tell it where to put the files too.
Max.
ASKER
Can I escape all confirmation questions for downloading each file?