I want to download all of my remote files and folders from an ftp server to my local machine using the command line or a '.bat' file.
4 Answers
You could use a PowerShell option to perform this task a premade function already exist Here. http://powershell.com/cs/media/p/804.aspx
All you would need to run is:
Get-FTPFile -Source "ftp://server/path" -Target "C:\temp" -UserName "Username" -Password "P@ssw0rd"
- 301
You can try using wget for windows and enter it's path into your system environmental variables.
It's very lightweight and it won't be a bad utility for your system if it's something you want.
- 6,452
It would be easiest to use an FTP client like FileZilla. You can use it to log into the FTP account, select a local folder, select the files in the remote folder, then simply drag-and-drop them to the local folder. Moreover, if you lose the connection, you can try again later in the exact same way, but when you get prompted about some files already existing (it’ll ask if you want to overwrite the existing files), you can select to ignore/skip it and all further files that exist. That way you can make sure to get all of the files and not worry about having to do it in one go.
- 69,547