Working with SpaceCore FTP Storage
A guide to uploading and downloading files to one of the SpaceCore services — the FTP storage.
Installing lftp on Ubuntu/Debian:
bash
apt-get -y install lftpInstalling lftp on CentOS:
bash
yum -y install lftpUpload a folder to the storage:
bash
lftp -e 'set ftp:ssl-allow no; mirror -R /this/myfolder; bye;' -u spacecoreID,pass backup.s1.fsn.spacecore.pro:21Download a folder from the storage:
bash
lftp ftp://spacecoreID:pass@backup.s1.fsn.spacecore.pro:21 -e "set ftp:ssl-allow no; mirror /home; quit"Upload a file:
bash
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:
bash
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
Did not find the answer? We are online 24/7.Contact support