Loosing connection with FTP server while transfering files

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Loosing connection after a while when transfering files. Even when uploading few files I get I/O errors.
Upload is initiated from local storage to FTP client.

While FTP is mounted and I see I/O errors popping up I tried to run rclone ls remote: command and it listed the files but transfer was still halted.

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.2

  • os/version: redhat 8.8 (64 bit)
  • os/kernel: 4.18.0-477.15.1.el8_8.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.2
  • go/linking: static
  • go/tags: none

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


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

rclone mount remote:/Dir/ --allow-other --file-perms 0666 --dir-perms 0777

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

- type: ftp
- host: xxx.xxx.com
- user: user
- pass: pass
- explicit_tls: true

A log from the command that you were trying to run with the -vv flag

2023/09/13 16:00:46 DEBUG : /: Attr:                                                                      │··············································································································
2023/09/13 16:00:46 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwx------, err=<nil>               │··············································································································
2023/09/13 16:00:46 DEBUG : /: ReadDirAll:                                                                │··············································································································
2023/09/13 16:00:46 DEBUG : : Re-reading directory (4h3m2.900252402s old)                                 │··············································································································
2023/09/13 16:00:46 DEBUG : : Dir.ReadDirAll error: use of closed network connection                      │··············································································································
2023/09/13 16:00:46 ERROR : IO error: use of closed network connection                                    │··············································································································
2023/09/13 16:00:46 DEBUG : /: >ReadDirAll: item=-1, err=use of closed network connection                 │··············································································································
2023/09/13 16:00:47 DEBUG : pacer: low level retry 10/10 (error use of closed network connection)

welcome to the forum,

--- what other ftp clients have you tested, filezilla, lftp or what?
--- can update rclone to latest using rclone selfupdate
--- might try to tweak --ftp-close-timeout
--- might try --dump headers
--- does the server offer sftp as rclone has better support for that?
--- might better to test using simple command such as rclone copy instead of rclone mount.
--- post a full debug, not a small snippet.

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