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...?

Re: Uploading Files by Joerg

Joerg
Fri Mar 24 15:47:45 CST 2006

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-reply@joergjooss.de