How to download and upload files to one of the SpaceCore services - FTP storage.
Installing lFTP for Ubuntu/Debian:
apt-get -y install lftpInstallation of lFTP for CentOS:
yum -y install lftpLoad 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:21Download 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"Network speed in FTP storage is 1Gbps
Last updated