I think to OP is asking a different question than one concerned with the web server:
like how we do in web ftp?.
sugar, I think you want a GUI interface, which may be supplied by Perl/Tk. I suggest you search down that route, for example CPAN [
Tk::FileDialog].
(Maybe I'm reading the question differently/wrongly).