Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript to post a file

Status
Not open for further replies.

grebo

Programmer
Sep 21, 1998
38
US
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. <br>
<br>
If nothing else, I have the HTML for it (the easy part), I just can't figure out the JavaScript for running the form.<br>
<br>
Thanks,<br>
-Eric
 
Yes, I can MOST LIKELY make you a script that will do that. Right now, I just happen to be getting ready to add a few such scripts to my pages. If you'll kindly give me your URL, and let me know how you currently save your pages, I can probably begin working on a script that will suit your needs.<br>
<br>
-Robherc
 
Thanks for the assistance! I'm afraid URLs will do nothing as the main function of this is for my group on the company's intranet. However, I like the idea and if I can ever get it to work at work, I would like to add that function to my website at <br>
The computer setup is currently as such:<br>
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.<br>
<br>
I hope this helps with what you need to know. Thanks again for the help.<br>
<br>
-Eric
 
One thing I forgot to ask you last time:<br>
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.<br>
<br>
Hope I've helped,<br>
Robherc
 
Sorry I wasn't clearer. I actually want them to be able to post files (Word docs and such) to the directory. Thanks for the help though. I've got my question posted in the Perl group as well in case there is a solution there.<br>
<br>
Thanks again for the help.<br>
-Eric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top