Connecting Tech Pros Worldwide Forums | Help | Site Map

Upload Files automatically

Newbie
 
Join Date: Jul 2007
Posts: 1
#1: Jul 26 '07
Hi All,
Could anyone please help me with this:-
I am developing a web application using asp.net and I want to upload files automatically from the client to server. The paths(directory structure) on both the server and client are available so I want to upload the files without user intervention. I am able to read the files on the client system through permissions but unable to post the file. I dont want to use the File Upload control which allows the user to select one file at a time. I just want to access the client machine and upload files from there.
Please suggest a solution.

Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,161
#2: Jul 26 '07

re: Upload Files automatically


If you make an input of type "browse" or whatever it is, I think you can use CSS to hide it. Then use javascript to populate it's .VALUE and then do a myform.Submit() kinda thing.
Reply