This question already has an answer here:
I try to copy a lot of files from my ftp server ftp://ftp.prodega.ch
, so I created a file called code.txt
with this text:
open ftp.prodega.ch
user
password
lcd E:\f2
cd Bilder1
get file1.jpg
bye
Then I execute the following command in the command prompt:
ftp -s:code.txt
The file file1.jpg
is copying into local E:\f2
folder; I try to copy all files from the ftp folder Bilder1
using mget *
instead of get file1.jpg
but it doesn't work.
The first image is copied successfully, but the second image (using mget *
) doesn't get copied and showed this result:
How would I be able to copy these files?
Try entering this command into your command prompt: