python - Twisted FTP server does not show files after login -


i'm running twistd -n ftp --root=/tmp --password-file=/tmp/pass.dat

i can connect ftp ftp://localhost:2121 , run ls. if login, , try same ls following error:

550 []: no such file or directory. 

any ideas?

thanks, miki

i had same problem until found in bugtracer: http://twistedmatrix.com/trac/ticket/4494 code

avatar = ftpshell(filepath.filepath("/home/" + avatarid)) 

means ftp login should same linux login, "/home/login" directory exist.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -