javascript to post a file
javascript to post a file
(OP)
I've been trying to find a script that will allow you to post a file via a web form to a directory (it doesn't have to look pretty) But I've had no such luck. I do understand that there is some security inherent with JavaScript with writing files, but I don't know if this affects me.
If nothing else, I have the HTML for it (the easy part), I just can't figure out the JavaScript for running the form.
Thanks,
-Eric
If nothing else, I have the HTML for it (the easy part), I just can't figure out the JavaScript for running the form.
Thanks,
-Eric
RE: javascript to post a file
-Robherc
RE: javascript to post a file
The computer setup is currently as such:
We have a windows network in which on of our drives is mapped to the UNIX webserver. I can drop any file into the directories on the mapped drive via windows explorer and it shows up on the web. However, in the end, the file structure is UNIX and we have to work with that as opposed to getting FrontPage extentions to work on an NT server.
I hope this helps with what you need to know. Thanks again for the help.
-Eric
RE: javascript to post a file
Are you wanting to allow people to edit,then upload info as a file? Or are you wanting to allow them to upload files??? I at first thought that you were merely intending to allow them to add to your website or whatever. I think (if you're wanting to allow the uploading of files) that your best answer will probably be found in Perl. perl is fully supported by your UNIX server, but I am not experienced enough with Perl to help you write the script you're needing.
Hope I've helped,
Robherc
RE: javascript to post a file
Thanks again for the help.
-Eric