Message189754
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. |
|
Date |
User |
Action |
Args |
2013-05-21 13:38:27 | orsenthil | set | recipients:
+ orsenthil, terry.reedy, foxkiller |
2013-05-21 13:38:27 | orsenthil | set | messageid: <1369143507.3.0.445178027538.issue17967@psf.upfronthosting.co.za> |
2013-05-21 13:38:27 | orsenthil | link | issue17967 messages |
2013-05-21 13:38:26 | orsenthil | create | |
|