Can any of you web savy HTML types out there tell me how to set up a web directory for full exchange (read and write).

Im currently using this HTML source to set up a web dir, but its limited to UPLOADING/DOWNLOADING. I can not delete any files without using an FTP program.

Here is my source:

.httpFolder {behavior: url(#default#httpFolder);}
function init(){
<BODY ONLOAD="init()">
<DIV ID = "oDAV" CLASS = "httpFolder" >

It asks for the password and username i would use with a FTP program. Once done im in to do what ever, but i cant erase anything. :confused:

If you have suggestions im all ears ;)
Posted on 2003-12-07 14:13:20 by NaN
you'd need to set it world writable usually

chmod o+w /path/to/your/dir
Posted on 2003-12-07 14:43:57 by Hiroshimator
How do you do this from HTML?
Posted on 2003-12-07 15:29:27 by NaN
you can't

it needs to be done on the webserver (though you could possibly do it via ftp) I overlooked that you said you can write the folder though :/
normally if you can write, you can delete
Posted on 2003-12-07 15:40:12 by Hiroshimator
don't you have FTP access? (IMO if you have ftp access it's better to use an FTP client - a good one gives a better controll than going thru http)
btw, isn't "web dir" something m$ made and implented in explorer? (or is it something else they call what ever that is?)

with the lilkeyness for this beeing off-topic:
I don't understand the difference between write and write, a delte is a write (often simply an overwrite/change of a flag/node struct)
equallt what differs a read from a read? like windows nt permisions, there are read rights for folders, rights for listing (which is a read operation) - feels like it could be potetial weak point (mimicing a read for another read permission).
So if you got write permision you can do whatever write operation you like. (Linux/*nix has (basically) only rwx (Read, Write, eXec) for owner, group and 'others') - I think all ftp has only these permisions, don't know for surea but http though.
Posted on 2003-12-07 15:59:47 by scientica
Yes, i can do all i want with FTP.. but sometime is simpler to access from web (ie. at work) where i may not be allowed to have a FTP client on my machine.

Posted on 2003-12-07 16:09:08 by NaN
i think you are trying to have a webpage such that it can act as
a folder in terms of deleteing files ... right ?

well, to achieve this you'll need to have some form of script (perl,
php, asp, java, cgi-asm, etc) running that performs the delete upon
some button being clicked ...

where i may not be allowed to have a FTP client on my machine.

this should work in most browsers ... should work ...
Posted on 2003-12-07 23:18:06 by latte
I discovered its not my source that is failing, it the web-server. Its putting the followin in my temp directory when i try to delete anything via the web:
12/08/2003 00:34:34

HTTP 500 Internal Server Error
<TITLE>500 Internal Server Error</TITLE>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
[imgmail][/imgmail] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>

So I guess I will have to look into why only this one function fails with web access my earlier HTML source.

Posted on 2003-12-07 23:35:11 by NaN
putting up a website NaN?
Posted on 2003-12-08 02:31:34 by evil__donkey
Perhaps in the near future.. (2004) but not at the moment...
Posted on 2003-12-08 10:30:10 by NaN