Have you tried using sftp
? Also, if you have ssh
access, you can use scp
, which allows you to upload and download files. As ftp
is not encrypted, it is highly recommended you find an alternative solution.
$ scp path/to/local/file me@domain.tld:/path/to/remote/file # Download file
$ scp path/to/local/file me@domain.tld:path/in/home/directory # Download file in home directory
$ scp me@domain.tld:/path/to/remote/file path/to/local/file # Upload file
Whether you chose sftp
or scp
is up to you, but it is highly recommended to use over ftp
, as ftp
doesn't support encryption.
rsync
allows for more complicated syncing procedures, and can also utilize ssh
/scp
.
You can set up your .ssh/config
to make this easier and look into setting up ssh keys as well.
Many servers nowadays do not support ftp
. Are you 100% sure that this server does? The ports are all filtered:
$ nmap -p 22,21 x10hosting.com
Starting Nmap 7.70 ( https://nmap.org ) at sometime
Nmap scan report for x10hosting.com (104.24.22.72)
Host is up (0.013s latency).
Other addresses for x10hosting.com (not scanned): 104.24.23.72
PORT STATE SERVICE
21/tcp filtered ftp
22/tcp filtered ssh
Nmap done: 1 IP address (1 host up) scanned in 12.73 seconds
Similar to debugging ssh
, have you checked the server's ftp
log to see if there are any details there?