Uploading Files

  • Thread starter Thread starter Rob T
  • Start date Start date
R

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...?
 
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,
 
Back
Top