Hi, on the computer where I am running my FileZilla FTP server I have a root directory for files that are accessible via FTP, say C:\FTP\. Within this directory there are several sub-folders with different types of files, say:
Code: Select all
C:\FTP\public_files_1\
C:\FTP\public_files_2\
C:\FTP\private_files\
I would like to enable an anonymous user with no password, and allow read-only access to the public files. The idea is to have a webpage that will list download links to files in \public_files_1\ and \public_files_2\ but the files in \private_files\ should not be accessible to unauthorized users. I would like users to be able to click the links in their web browser to download the public files without being prompted for any credentials, hence the anonymous account with no password.
I actually had this set up on a previous server and it worked. The way I had it setup was by adding three shared folders for the anonymous account. The "Home" folder was C:\FTP\ but there were no permissions, and I additionally shared C:\FTP\public_files_1\ and C:\FTP\public_files_2\ with read-only permissions. This allowed me to have download links on my website formatted as:
Code: Select all
ftp://(server address)/public_files_1/file1.zip
And when users clicked on that link, their web browser would start the download.
Now, I've just tried to replicate this same setup on a new server, however when the users click the links the web browser is prompting them to enter a username/password and the FTP server is displaying the following log message:
Code: Select all
550 User does not have permission to access own home directory
While this is true, the user does have permissions to access the file in the sub-folder they are trying to access, and I didn't have issues with this type of setup in the past.
Any advice is appreciated.