Senthil Kumaran added the comment:

Hello zhaoqifa, 

Your suggestion for the solution looks good to me. Instead of cd-ing to each 
dir, you cd to target dir when ftp url is accessed.

Two things to consider.

1) Will the above change have any security implications. It does not seem to 
me. But I did not write that code originally that way either.

2) On Ubuntu, I am unable to setup a directory based (ACL'ed) anonymous ftp 
server. The option is either anonymous from ftp root (/) which will map to my 
operating system folder (/srv/ftp) or non-anonymous. I wonder how your server 
is configured to allow anonymous from a particular point onwards.

----------
assignee:  -> orsenthil
versions: +Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17967>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to