M
M
Maxim E2014-11-14 10:35:30
PHP
Maxim E, 2014-11-14 10:35:30

Is there a ready-made script for transferring files from server to server with both FTP access?

There are 2 hosts:
The original one has an author's hosting control panel and there is no way to download a backup.
The final one has control through the ISP socket.

The amount of data is 10 GB.

Access to them via FTP is available, you need to transfer files from one to another. It is not possible to download filezilla completely, because. there are files containing Cyrillic.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
kompi, 2014-11-14
@creativeworm

Something like that:

lftp -c "set ftp:list-options -a;
open ftp://user:[email protected]; 
lcd ./web;
cd /web/public_html;
mirror --reverse --use-cache --verbose --allow-chown  
--allow-suid --no-umask --parallel=2 --exclude-glob .svn"

V
Vadim Sabynich, 2014-11-17
@vadim_s_sabinich

run the following command in ssh on the receiving server:
wget -mc --ftp-user=USER --ftp-password=PASS ftp://FTP-SERVER/path/to/directory
as a result you will get a full copy of the specified directory. in case of a connection break, the files will simply be downloaded.

S
Sergey Venediktov, 2014-11-14
@sven

If you have SSH access to the source hosting, and a reserve in place, you can go in and pack everything, and then download it in one file. Or rsync if both hosts have SSH.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question