You can't do it. At all actually (I've tried various ways to do this, but none would work). I think it's a security issue really - when they worked out the spec, they must've realised that it could be misused as to download common files, like for example the windows registry in windows 9.x . Why don't you just use FTP(a few FTP-clients accept batch scripting - even though none springs to mind right now)? ASP's not the soloution to everything you know ;)
 
BTW you should probably take yiur ASP questions elsewhere. Not that I mind, but most in here are probably not ASP deveelopers and thios isn't an ASP-forum. There's a lot of them at http://www.4guysfromrolla.com and good ASP resources in general are not hard to find. To name a few:
 
http://www.devguru.com - good complete references on most scripting languages used in windows and its compatible webservers
 
http://www.aspalliance.com/wiseasp/ - one of the few on ASP with javascript (or rather M$ Jscript)
 
http://www.aspin.com - directory of readymade scripts,components, turtorials and resources (practically anything ASP-related)
 
hope this helps! :)
 
Henrik V�glin [[EMAIL PROTECTED]]
----- Original Message -----
Sent: Friday, January 05, 2001 4:43 AM
Subject: [Dynapi-Help] File Upload

I have a need to transfer up to 50 Jpeg files from a client site to our server. I have a hidden Div with the <INPUT TYPE=FILE tags which are created by a loop using JavaScript.
 
I would like to carry out  code similar to the following:-
 
sampleDiv.form1.pic1.value = picArray[0];
 
where picArray contains the address of the file. eg; "g:\test\picture1.jpg"
 
However if the INPUT is of type FILE I cannot pass the value to it.
 
Any idea how I can achieve this?
 
Thanks Max Campsell

Reply via email to