Skip to main content

FTP/SFTP Transfer Script

This script will transfer your data from your Ultra.cc slot to another location. Simply add data to the Ultra_Sync directory, and it will automatically be transferred to your destination of choice.

This is an unofficial script that is provided for your convenience. The script is provided as-is and may not be updated or maintained by Ultra.cc. Customers are welcome to use and customize unofficial scripts for their unique needs and requirements. Unofficial support may be offered via Discord only and at the sole discretion of Ultra.cc staff. Use at your own risk.

Requirements

  • Both of the remote services need SSH access enabled
  • Python 3.6+ needs to be installed on source machine

Installation

Before you can proceed with installing the FTP/SFTP transfer script, Python needs to be version 3.6 or above.

Upgrade Python

  • Upgrade Python to 3.6 or higher, see guide here

With Python updated to version 3.6 or above, you can proceed the installation.

Script Installation

  • Connect to your Ultra.cc slot via SSH
  • Execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Sync/ultra_transfer_installer.sh)
  • Type confirm to proceed with the installation
  • Type 1 and press ENTER

At this point in the installation, you will be asked to enter access details for the destination of the transfer. Below you will find explanations for each access detail.

  • Username: Username of your destination machine
  • Hostname: Hostname (eg. servername.usbx.me or 11.22.33.44) of your destination machine
  • Password: SSH/FTP password of your destination machine
  • Port: Default port is 22, but if you use another one on your destination machine, enter that one.
  • Protocol: FTP or SFTP

When you have your access details ready, proceed with the installation.

  • Type your remote destination username and press ENTER
  • Type your remote destination hostname and press ENTER
  • Type your remote destination password and press ENTER
  • Type your remote destination port and press ENTER
  • Select your remote destination protocol, press 1 for FTP and 2 for SFTP. Press ENTER to confirm.

If you have entered all the access details successfully, the script installation is finished and the script has been started.

Uninstallation

  • Execute the following command:
bash <(wget -qO- https://scripts.usbx.me/util/Ultra_Sync/ultra_transfer_installer.sh)
  • Type confirm to proceed with the installation.
  • Next, you will be presented with three options:
  • Press 2 to uninstall script. Press ENTER to confirm.

The script will ask you to confirm the uninstallation with YES or NO.

  • Press 1 for uninstall. Press ENTER to confirm.

Usage Information

  1. The script will create two directories. Ultra_sync directory on your source machine and Ultra_transfer on your destination machine. Files that you copy or move to the Ultra_sync directory on your source machine will be automatically transferred to the Ultra_transfer directory on your destination machine.

  2. The transfer script will be running in a screen session. To check the progress of the transfer, simply execute screen -r UltraSynctool. To detach from the screen session and leave the transfer running, press CTRL+a and then press d.

  3. If the script stops moving data, or you by mistake killed the screen session. You can restart the script again. This is done by executing the initial installation command, type confirm and press ENTER. When presented with the three options, select option 3 (restart) and the script will restart and initiate a new screen session.