You are not logged in.
I'm kinda new to all of this so I believe there's a simple solution for what I need I just don't know how it's done.
So I've configured a vsftpd, ftp server and enabled the anonymous user, therefore when I do
ftp://my_location.coma directory like view is displayed in my web browser, corresponding to /srv/ftp where the files for the anonymous account are kept. Now I've made a little web page and I've copied it there, and can be launched running main.html so the address to access the web page would be
ftp://my_location.com/main.htmlMy problem is that I don't want anybody to have the possibility to see the directory like display so I'm wondering if when someone does ftp://my_location.com can't this be redirected so it will do ftp://my_location.com/main.html instead?, making the display of files and directories impossible from the ftp://my_location.com
Thanks for your time
I've first installed Arch in March
Offline
The FTP protocol does not support redirection like HTTP does. It is a File Transport Protocol (hence, the name!) which is designed to give users a directory listing of files for transferring. You are trying to hammer a nail with a fork (ie, you are using the wrong tool.)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
The FTP protocol does not support redirection like HTTP does. It is a File Transport Protocol (hence, the name!) which is designed to give users a directory listing of files for transferring. You are trying to hammer a nail with a fork (ie, you are using the wrong tool.)
Okey at least now I know it's not possible.
I've first installed Arch in March
Offline