Get a VPS server with a 15% discount
Sale ends in
00Days
:
00Hours
:
00Minutes
:
00Seconds

Working with FTP Storage

A guide to uploading and downloading files to one of the SpaceCore services — the FTP storage.

Installing lftp on Ubuntu/Debian:

apt-get -y install lftp

 

Installing lftp on CentOS:

yum -y install lftp

 

Upload a folder to the storage:

lftp -e 'set ftp:ssl-allow no; mirror -R /this/myfolder; bye;' -u spacecoreID,pass backup.s1.fsn.spacecore.pro:21

 

Download a folder from the storage:

lftp ftp://spacecoreID:pass@backup.s1.fsn.spacecore.pro:21 -e "set ftp:ssl-allow no; mirror /home; quit"

 

Upload a file:

lftp ftp://spacecoreID:pass@backup.s1.fsn.spacecore.pro:21 -e "set ftp:ssl-allow no; put -O / /root/backup/home.tar.gz; quit"

 

Download a file:

lftp ftp://spacecoreID:pass@backup.s1.fsn.spacecore.pro:21 -e "set ftp:ssl-allow no; get /backup.zip; quit"
 

SpacecoreID — Username. Pass — Password. Backup.s1.fsn.spacecore.pro — Server. 21 — Port.

The network speed of the FTP storage is 1 Gbps