S
S
Sergey Yavin2020-11-09 12:36:32
Automation
Sergey Yavin, 2020-11-09 12:36:32

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

1 answer(s)
R
Ronald McDonald, 2020-11-09
@sjaserds

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 question

Ask a Question

731 491 924 answers to any question