I'm having real trouble getting fullsync working with vsftpd on a small Amazon EC2 instance. I'm able to connect to it fine with FileZilla and other FTP clients, but fullsync is proving problematic.
I'm doing a publish/update from a local directory on my Mac to a FTP server which I've set up on AWS EC2 with vsFTPd.
I'm trying to do this over old style, non-TLS FTP connection, I have enabled the correct ports on EC2 and I think I have my vsftpd conf file configured correctly.
I have managed to connect, I think, but no files are being transferred to my FTP server, here is the log file from fullsync:
Hi Kevin,
have you tried uploading files with FileZilla or just tried to connect? From the log it looks like FullSync is able to connect but fails to upload a file because the server denies that.
BUT: FTP is a horrible protocol. If at all possible use SFTP (filetransfer over SSH - not to be confused with FTPS which is just horrible FTP with TLS).
I assume that you can SSH into your EC2 instance already, so using SFTP would remove an additional service that you need to expose to the internet.
BR,
Christoph
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm having real trouble getting fullsync working with vsftpd on a small Amazon EC2 instance. I'm able to connect to it fine with FileZilla and other FTP clients, but fullsync is proving problematic.
I'm doing a publish/update from a local directory on my Mac to a FTP server which I've set up on AWS EC2 with vsFTPd.
I'm trying to do this over old style, non-TLS FTP connection, I have enabled the correct ports on EC2 and I think I have my vsftpd conf file configured correctly.
I have managed to connect, I think, but no files are being transferred to my FTP server, here is the log file from fullsync:
To me it looks like a permission error? But the FTP user I am connecting with has full write access so I'm not sure.
Also here is my vsftpd.conf file in case there's an issue with the way I have it configured:
Can anyone provide any insight here?
Thanks in advance
Kevin
Last edit: Kevin Price-Ward 2020-01-27
Hi Kevin,
have you tried uploading files with FileZilla or just tried to connect? From the log it looks like FullSync is able to connect but fails to upload a file because the server denies that.
BUT: FTP is a horrible protocol. If at all possible use SFTP (filetransfer over SSH - not to be confused with FTPS which is just horrible FTP with TLS).
I assume that you can SSH into your EC2 instance already, so using SFTP would remove an additional service that you need to expose to the internet.
BR,
Christoph