Downloading all files in a directory with ftp command

I am trying to download all of the files in a directory using the FTP command on Windows (Windows Server 2012 R2). Here is what I am running from the ftp command:

open myurl.com
myusername
mypassword
cd directoryIwantonExternalServer
lcd directoryIwantonLocalmachine
binary
mget *.*

Everything seems to work fine until the last line, when running mget *.*. This results in no output for an indefinite period. I am only trying to transfer as a test two text files.

5

1 Answer

To get indications of the process of download from ftp server you can enter command hash after entering username and password. You can in general enter the command anywhere before sending command mget

To avoid interactive questions about downloading next file (based on wildcard) you can use command prompt. This command act as switch, first execution turn it off, next turn it on and so on

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like