Home All Groups Group Topic Archive Search About
Author
24 Mar 2006 7:15 PM
Rob T
I'm trying to figure out a way for a user to be able to select a file name
(on their local hard drive) and upload it to a web server.  That's the easy
part...and I use a standard Input tag with a type=file.  What I would like
to do is also upload a couple of other files automatically.

For example, the users choose c:\myfile.txt.  I would also want to upload
c:\myfile.gif and c:\myfile.jpg.

I would assume this is impossible to do, for security reasons....unless I
wrote and activex component to do it...?

Author
24 Mar 2006 9:47 PM
Joerg Jooss
Thus wrote Rob,

> I'm trying to figure out a way for a user to be able to select a file
> name (on their local hard drive) and upload it to a web server.
> That's the easy part...and I use a standard Input tag with a
> type=file.  What I would like to do is also upload a couple of other
> files automatically.
>
> For example, the users choose c:\myfile.txt.  I would also want to
> upload c:\myfile.gif and c:\myfile.jpg.
>
> I would assume this is impossible to do, for security
> reasons....unless I wrote and activex component to do it...?

Short answer: Yes.

Cheers, 
--
Joerg Jooss
news-re***@joergjooss.de

AddThis Social Bookmark Button