|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Uploading FilesI'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 Short answer: Yes. > 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...? Cheers, -- Joerg Jooss news-re***@joergjooss.de |
|||||||||||||||||||||||