Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sign me up, but where's the alternative?

WebDAV is a trainwreck. SFTP could be nice but the OpenSSH impl falls terribly short as a FTPd replacement (the most useful implementation is ironically the one in ProFTPd). Sendfile never went anywhere. Network filesystems don't cut the FTP use-case either.

People don't use FTP because they like it. They use it for the lack of a viable alternative.



cleaver and sehugg have both mentioned rsync, which I also think is a viable alternative. If possible, I try to use scp - is there any reason neither of these are viable alternatives?

The only reason I ever use ftp is because I'm forced to with my godaddy hosting.


For many use-cases rsync and scp are not adequate. For example neither can provide a file-listing or interactively walk a tree, which is essential for a wide range of push-based or fileserver-style applications.


rsync can provide file-listings:

jsight@jsight-ubuntudesktop:~$ rsync localhost:/home/jsight/hackernews/ drwxrwxr-x 4096 2012/01/29 20:02:48 . -rw-rw-r-- 0 2012/01/29 20:02:36 tmp1 -rw-rw-r-- 0 2012/01/29 20:02:38 tmp2 -rw-rw-r-- 0 2012/01/29 20:02:39 tmp3 -rw-rw-r-- 11 2012/01/29 20:02:45 tmp4 -rw-rw-r-- 11 2012/01/29 20:02:46 tmp5 -rw-rw-r-- 11 2012/01/29 20:02:48 tmp6


Thanks! That was new to me.

Still, can it also serve as an interactive shell with mkdir, rename etc.? An rsync-based ftp-clone would indeed be my favorite for a replacement.


Maybe you should go with ssh if you need a secure ftp replacement: http://news.ycombinator.com/item?id=3526713


> the OpenSSH impl falls terribly short as a FTPd replacement

any specific reason?


No way to chroot users to their home, generally finicky configuration (way too easy to give users shell-access by accident), no bandwidth throttling or other advanced ftp features, rather limited logging/auditing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: