File Transfer Protocol (FTP)

The File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files between a client and server on a computer network.

Connecting to your seedbox with FTP

FIle Transfer Protocol (FTP) is one of the ways you can do to manage your files on your seedbox. With this, you can download and upload your files and directories, move them around, rename them and much more.

This guide shows you on how to change your password and the general settings to put in a FTP client.


Changing your SSH/FTP Password

Before logging into your FTP Client, you should first set your own SSH/FTP password.


FTPS vs. SFTP

File Transfer Protocol over SSL (FTPS) and SSH File Transfer Protocol (SFTP) are both supported by UltraSeedbox. These file transfer protocols secure both authentication between your device and our servers and the files being transferred are secure.

FTPS

SFTP

Recomendations

Both procols are safe to use but we recommended that you should use SFTP with Public Key Authentication for file transfers and interacting with the seedbox's terminal. This provides greater cryptographic strength than even long passwords provide and makes it easier for you to login by providing automated, passwordless login to your seedbox.


Connecting to your seedbox using FTP Client

Here are the settings that you can use to connect to your seedbox slot via FTP to manage your files.

File Transfer Protocol SSL (FTPS)

Hostname: lwxxx.usbx.me or IP address: xxx.xxx.xxx.xxx
Username: <your-seedbox-username>
Password: <your-ssh/ftp-password>
Port: 21
Encryption: Explicit FTPS

SSH File Transfer Protocol (SFTP)

Hostname: lwxxx.usbx.me or IP address: xxx.xxx.xxx.xxx
Username: <your-seedbox-username>
Password: <your-ssh/ftp-password>
Port: 22

For SFTP, you may also use Public Key Authentication in lieu of password. This makes it more secure and convenient for you.

Recommended FTP Clients

Here are the FTP clients we recommended and how to setup FTP on each client to connect and manage your files on your seedbox.

FileZilla

Filezilla is a free FTP application that is available in most platforms. This supports Explicit FTPS and SFTP protocols in addtition to the following features:

Installation

You can download and install FileZilla by going to the FileZilla Downloads Page and download the latest version for your PC.

Setting Up FileZilla

FTPS

Protocol: FTP - File Transfer Protocol
Host: lwxxx.usbx.me
Port: 21
Encryption: Require explicit FTP over SSL

Logon type: Normal
Username: <your-usb-username>
Password: <your-ssh/ftp-password>

SFTP (Normal Logon)

Protocol: SFTP - SSH File Transfer Protocol
Host: lwxxx.usbx.me
Port: 22
Encryption: Require explicit FTP over SSL

Logon type: Normal
Username: <your-usb-username>
Password: <your-ssh/ftp-password>

SFTP (Keyfile Logon)

For more information on this, you can refer to this guide: Public Key Authentication

Protocol: SFTP - SSH File Transfer Protocol
Host: lwxxx.usbx.me
Port: 22
Encryption: Require explicit FTP over SSL

Logon type: Key file
Username: <your-usb-username>
Key file: <your-usb-public-key>

WinSCP

WinSCP (Windows Secure Copy) is a free and open-source SFTP, FTP, WebDAV, Amazon S3 and SCP client for Windows. It offers basic file manager and file synchronization functionality. For secure transfers, it uses Secure Shell (SSH) and supports the SCP protocol in addition to SFTP. In addition to this, WinSCP also offers the following features:

Installation

To download and install WinSCP, you can do so at this page.

Setting Up WinSCP

FTPS

Fle Protocol: FTP
Encryption: TLS/SSL Explicit Encryption
Host: lwxxx.usbx.me
Port: 21

Username: <your-usb-username>
Password: <your-ssh/ftp-password>

SFTP (Normal Logon)

Fle Protocol: SFTP
Host: lwxxx.usbx.me
Port: 22

Username: <your-usb-username>
Password: <your-ssh/ftp-password>

SFTP (Keyfile Logon)

For more information on this, you can refer to this guide: Public Key Authentication

Fle Protocol: SFTP
Host: lwxxx.usbx.me
Port: 22

Username: <your-usb-username>
Password: <blank>

To add keyfile, go to Advanced -> SSH -> Authentication -> Private key file

Userland ProFTPD

ProFTPD is an FTP server that can be used to offer FTP access to friends and family without revealing your slot's username and password. Instead, custom usernames and passwords can be set for each friend or family member.

In this guide, we'll be installing and setting up Userland ProFTPD into your slot. We'll be also teaching you how to manage and uninstall ProFTPD.


Installation

wget https://raw.githubusercontent.com/ultraseedbox/UltraSeedbox-Scripts/master/ProFTPD/proftpd-install.sh
chmod +x proftpd-install.sh
./proftpd-install.sh
usbdocs@lw816:~$ ./proftpd-install.sh
Disclaimer: This installer is unofficial and USB staff will not support any issues with it
Type confirm if you wish to continue: confirm
FTP Root Folder: ~/files
Installing ProFTPD...
Configuring Authentication...
Username: usbdocs
Password: ********
ftpasswd: using alternate file: /home12/usbdocs/.config/proftpd/proftpd.passwd
ftpasswd: creating passwd entry for user usbdocs
ftpasswd: entry created
Do you want to create another user? (y/n) n
Installing Service...
Configuring TLS...
Generating RSA private key, 1024 bit long modulus (2 primes)
...............+++++
.................+++++
e is 65537 (0x010001)
Signature ok
subject=C = NL, ST = NH, L = Amsterdam, O = Ultraseedbox, CN = lw816.usbx.me
Getting Private key
Starting ProFTPD...
Downloading Scripts...
Cleaning Up...
Done!
Access your ProFTPD installation at ftp://lw816.usbx.me:32563
Run ./proftpd-uninstall.sh to uninstall | Run ./proftpd-users.sh to manage users

Managing Users

./proftpd-users.sh
usbdocs@lw816:~$ ./proftpd-users.sh
What do you want to do?
1) Create a user
2) Delete a user
3) Change a user's password
4) Exit
Select an option:

Setting Permissions

<Directory ~>
    <Limit ALL>
        AllowAll
    </Limit>
</Directory>
# Permissions example
<Limit ALL>
    # Limit everything
    DenyAll
</Limit>
 
<Directory /home12/usbdocs/files>
    # Allow everyone inside this folder
    <Limit ALL>
        AllowAll
    </Limit>
</Directory>
 
<Directory /home12/usbdocs/files/test1>
    # Allow "test1" inside this folder and all other users will be denied
    <Limit ALL>
        Order Allow,Deny
        AllowUser test1
        Deny ALL
    </Limit>
</Directory>
systemctl --user restart proftpd