Skip the login.html page, direct anonymous login.

Please post here if you have problems in using Wing FTP Server.
Post Reply
Andre
Posts: 22
Joined: Mon Oct 05, 2009 7:12 am
Location: Oosterwolde, Friesland, the Netherlands
Contact:

Skip the login.html page, direct anonymous login.

Post by Andre »

Is it possible to redirect users immediately to the main.html page and are automatically logged in as an anonymous user? So they don't see the login page but immediately can start their up- or download?

We try to make uploading as easy and fast as possible and it would be nice if we could put a link on our website where people can start uploading without login.

Thanx for your time and help. :-)

Kind regards,
André.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Skip the login.html page, direct anonymous login.

Post by FTP »

Yes, it is possible, please modify the file "webclient/loginok.html", replace the line " local username = _POST["username"] or "" " with " local username = _GET["username"] or _POST["username"] or "" ".
Then you can log into the web client directly by the URL "http://YourIP/loginok.html?username=anonymous"

Good luck!
Andre
Posts: 22
Joined: Mon Oct 05, 2009 7:12 am
Location: Oosterwolde, Friesland, the Netherlands
Contact:

Re: Skip the login.html page, direct anonymous login.

Post by Andre »

It works! Awesome. :-)

Thanx a lot!

André.
Post Reply