rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Cobalt on November 04, 2004, 04:18:42 AM
-
Ok here is a silly question I have made a upload folder that I would like anybody to be able to upload to But only want the admin to be able to download from Can I do this ? and if so how ? I’m new to this but I find this is a really great program for sharing many thanks !
-
not at the moment, sorry
i planned to introduce something like "content visibility", for folders, in addition to the visibility managed by the "hide" command
-
That's a feature that I would like also btw :)
-
For example:
We have REAL folder C:\Upload\
And in HFS we have this folder: http://127.0.0.1:8080/Upload/
ANYONE can Upload in this folder.
We just need to set "Default file mask" to upl.htm (for example)
And we need to put READ ONLY file "upl.htm" to C:\Upload\ folder.
upl.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<script language="JavaScript1.1" type="text/javascript">
<!--
location.replace("./~upload");
//-->
</script>
<noscript>
<meta http-equiv="Refresh" content="0; URL=./~upload">
</noscript>
</head>
<body>
If your browser not support redirect <A href="./~upload">click here</a>
</body>
</html>
And now anyone, who enter http://127.0.0.1:8080/Upload/ will be redirected to upload section of this folder(http://127.0.0.1:8080/1/Upload/~upload)!!!
For admin we make in HFS folder: http://127.0.0.1:8080/Admin/ (For example!). The sourec of this folder is the same as for http://127.0.0.1:8080/Upload/ (it is C:\Upload\)...
Just set restrict access for it, and set "Hide" for it!
And now we have:
For "Upload"
NOONE can see files!!!!!!
ANYONE can upload
For "Admin":
NOONE can see this folder
Only!!!! ADMIN can get there!
I think, it's not hard... :) But you can ask for more!
-
excellent :)
-
thank you so much for your reply. will play with it tomorrow. :) :) :)
-
CriS ,
I like this topic so much because you help me exactly what i m looking for , try so hard for past few days but didn't success and waste so much time.. :'( :'(
After try to follow your step by step guide i managed to get it done successfully just less than 5 minutes .
You are so great and kind to shared out so details explanations here !
Thank you very much . :D
I hope this post can be "Sticky Topic" because it's so helpful and useful ! ;) Excellent post . :)
-
You are lucky to find your happiness here, because this is a topic very old of 2004, at present many things have to evolve with the béta. last one I recommend you to consult the wiki about hfs.
-
You are lucky to find your happiness here
lol its great to see that it aint only me that miss out the dates from time to time