Originally Posted by infodump
Well if I do a site-to-site with my friend's OVH box I can max the connection, so that rules out hardware afaik, cause I can also do max speed ftp downloads from other public ftp sites on my pc. I've tried cuteftp, filezilla, and lftp.
I'm clutching at straws a little here, but your ISP might be throttling FTP from unknown addresses. If you're site-to-site FTP transfer from your friends box maxes out then the issue is most likely with your ISP.
What you could do is run SFTP over port 443 (assuming you don't already have HTTPS running on that box) so your ISP is fooled into thinking your FTP traffic is regular encrypted HTTP traffic. If that speeds up then it's definitely your ISP at fault.
It has to be SFTP though, which means editing your SSH listening port in /etc/ssh/sshd_config
. Regular FTP uses random ports for data traffic rather than tunnelling everything down the authentication port (port 20 or 21, i forget which). Plus the encrypted headers in SSH should hopefully make it less identifiable as non-HTTPS traffic so harder to distinguish between *FTP* and HTTP traffic by your ISPs traffic shapers.
If that works then you'd have to screw about with tunnelling your traffic or pulling the data down via another protocol (eg having HTTP auth on Apache and using HTTPS to download from your server).Edited by Plan9 - 12/2/12 at 1:38am