New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FTP: Support active mode #1971
Comments
Rclone FTP uses EPSV mode by default. Which ftp sever are you using and what errors did you get - can you post logs? |
[root@localhost rclone-v1.39-linux-amd64]$ ./rclone -vv ls ftp125: but use ftp command is ok: [root@localhost ~]# ftp -i -n |
Ah, you are using active mode... Unfortunately the ftp library I'm using doesn't support active mode: jlaffaye/ftp#29 |
thinks ,I will wait for rclone support active mode |
This issue is not fixed yet? |
It needs a volunteer to add it to jlaffaye/ftp#29 |
This issue is not yet fixed. And I am getting error "Failed to copy: Put mkParentDir failed: EOF" while rclone copy. |
since Improve FTP is planned, it might be worth being put on the list @ivandeex ? |
All improvements are planned for passive mode only and include:
Active mode means "rclone requests a transfer, opens incoming port, then ftp server connects back and performs the transfer". This mode is insecure. Actually I think we don't need it at all. I'd rather close out this feature request if @ncw agrees. |
The only fix I can provide for this ticket, will be a documentation fix saying |
Umm, but isn't active mode more secure(well ftp itself is insecure)? Since it requires bidirectional communication the server has more control on connection |
It makes |
Modern FTP servers support TLS on command and data connections. I am going to make rclone support that. Again, in passive mode (no open ports on rclone side!). |
In that case I can agree that security on rclone's side is enhanced by using passive mode. (Yes it seems to be easier to implement too). I believe your choice is totally reasonable in that sense. (TBH almost nobody use active mode!) |
I have used active mode a few times but not for at least 15 years. Its useful when the FTP server you are trying to connect to is behind a firewall that doesn't accept arbitrary incoming ports and doesn't snoop the FTP protocol to read which ports it should open. FTP is a disaster area for security - passive mode for the server, active mode for the client. @BraINstinct0 - do you have a use case for Active mode FTP? As far as rclone support, I'd stand by my original comment
So I'd probably re-word your text slightly @ivandeex We have this at the moment
How about
|
I will add this text together with the link to the https://rclone.org/ftp |
1.3.9
centos7.4
ftp
rclone mount remote_ftp: /tmp/ftppath
I hope add PASV and PORT when rclone config ftp . because ftp server only accept PASV;
thinks!
The text was updated successfully, but these errors were encountered: