Answer the question
In order to leave comments, you need to log in
How long does it take to copy files from ftp to the local computer?
wrote a simple script to copy files from ftp to local computer. There are 1500 files on the server, 1 - 3 kb each. But when you run the script, the file is copied for 3 - 4 seconds. How to copy all files at once?
Script example:
open ip
login
password
lcd E:\Backup\test
mget *.*
quit
Answer the question
In order to leave comments, you need to log in
In principle, logically, FTP is a long-obsolete protocol that does not know how to mass copy and requests each file separately.
As an option - on the server, pack the files in .tar or .zip there and copy it already.
I also recommend using a third-party FTP client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question