How to download and upload files to one of the SpaceCore services - FTP storage.

Installing lFTP for Ubuntu/Debian:

apt-get -y install lftp

Installation of lFTP for CentOS:

yum -y install lftp

Load the folder into the repository:

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

Download the folder from the repository:

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

Load 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 the 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

Network speed in FTP storage is 1Gbps

Last updated