You are currently viewing the XML section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
Hi !!
This is my problem i want to upload a whole folder(or) i need to save all the files in the folder to sql database from client machine to server machine..
i need to save a whole folder files to server in a single button click..
There is two option to get the folder path. Option 1 is i can give some control and give path for the folder
Option 2 is i may give static path for that folder. we may take any of one option..
If option 2 is possible that is very good... i think its not possible..
In web based program if feel there is no folder Browse control is there...
When i click a button it should automatically save all the files one by one to sql database as a binary in image column..
It all should from client to server not server to server...
I should not use activex ... If unable to find solution we may go for activex but pls keep in mind if we use
activex then in client machine it should not ask to download... dll.... or any think...
How large are the files likely to be? You can use msxml2.xmlhttp to send files to teh server and it can be automated but if they are large it will be hard work. The user will also have to allow unsafe ActiveX. It cannot be done automatically with pure HTML.