Cannot Connect to FTP via RClone

What is the problem you are having with rclone?

I'm connecting to my suppliers FTP server with user and password they created. I can connect using Filezilla and other FTP tools. I can't seem to get RClone to connect to the server.

What is your rclone version (output from rclone version)

Rclone Download v1.55.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Debian 10

Which cloud storage system are you using? (eg Google Drive)

FTP

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy /directory1/directory2 FTP01:directory2#same directory2 name as my local host

The rclone config contents with secrets removed.

[FTP01]
type = ftp
host = 192.168.192.10
user = user
pass = passwd
disable_epsv = false #i just added this just in case. This was on default before
port = 21

A log from the command with the -vv flag

user@localhost:~$ rclone ls FTP01: -vv --dump bodies
2021/07/14 21:02:21 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2021/07/14 21:02:21 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "ls" "FTP01:" "-vv" "--dump" "bodies"]
2021/07/14 21:02:21 DEBUG : Creating backend with remote "FTPRemote01:"
2021/07/14 21:02:21 DEBUG : ftp://192.168.192.10:21: Connecting to FTP server
2021/07/14 21:02:21 DEBUG : FTP Rx: "220-Welcome!"
2021/07/14 21:02:21 DEBUG : FTP Rx: "220 Service ready for new user"
2021/07/14 21:02:21 DEBUG : FTP Tx: "USER testuser"
2021/07/14 21:02:21 DEBUG : FTP Rx: "331 Password required"
2021/07/14 21:02:21 DEBUG : FTP Tx: PASS *****
2021/07/14 21:02:21 DEBUG : FTP Rx: "230 User logged in"
2021/07/14 21:02:21 DEBUG : FTP Tx: "FEAT"
2021/07/14 21:02:21 DEBUG : FTP Rx: "211-Extensions supported:"
2021/07/14 21:02:21 DEBUG : FTP Rx: " SIZE"
2021/07/14 21:02:21 DEBUG : FTP Rx: " REST STREAM"
2021/07/14 21:02:21 DEBUG : FTP Rx: " APPE"
2021/07/14 21:02:21 DEBUG : FTP Rx: " MDTM"
2021/07/14 21:02:21 DEBUG : FTP Rx: " MACB"
2021/07/14 21:02:21 DEBUG : FTP Rx: " PBSZ"
2021/07/14 21:02:21 DEBUG : FTP Rx: " PROT"
2021/07/14 21:02:21 DEBUG : FTP Rx: " EPSV"
2021/07/14 21:02:21 DEBUG : FTP Rx: " MLSD"
2021/07/14 21:02:21 DEBUG : FTP Rx: " UTF8"
2021/07/14 21:02:21 DEBUG : FTP Rx: "211 End"
2021/07/14 21:02:21 DEBUG : FTP Tx: "TYPE I"
2021/07/14 21:02:21 DEBUG : FTP Rx: "200 Type set to I (Image)"
2021/07/14 21:02:21 DEBUG : FTP Tx: "OPTS UTF8 ON"
2021/07/14 21:02:21 DEBUG : FTP Rx: "220 UTF8 OPTS ON"
2021/07/14 21:02:21 DEBUG : FTP Tx: "QUIT"
2021/07/14 21:02:21 Failed to create file system for "FTP01:": NewFs: failed to make FTP connection to "192.168.192.10:21": UTF8 OPTS ON

I was able to connect to my own local FTP server. Not sure if this issue with UTF8...?

I saw this thread Invalid characters in the Local File System cause rclone copy and sync to re-download existing files under the new name · Issue #2633 · rclone/rclone · GitHub

Might be this an issue with filenames with underscores? The host does have parent folders with underscores.

hello and welcome to the forum,

not sure what the problem is, but does the server support sftp?
as rclone has much better support for sftp.

It does not, as we're only doing local transfer from one org to another org in the
venue.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.