I am working on a project where our Sales Manager will go to an office, demonstrate a web page to the agent in the office. If the agent wants to follow the sales process demonstrated, the Sales Manager would then click on a link on the web page, put in his password and the web page would create a folder on the agents desktop and copy several files into that folder.
Can anyone tell me how I can create a folder on the desktop and then copy the files into that folder? Sample code would be very beneficial.
Thanks
David
Loading
tina stewartPosted Apr 16, 2007, 8:00 AM
JohnPosted Apr 7, 2007, 9:42 PM
Where will the web page be hosted? On a web server, or on the agent's machine? If the web page is on a central web sever, as is the norm, it may not be so easy to save the files on the agent's machine. If you use the system.io namespace, the web server would have to have permissions over the network to write to the agent's machine, which is not the norm.
You may want to consider writing an activeX object that downloads to the agents machine and writes the file from the client, which has the proper access.
A simpler option is to save the file on the server, and then redirect the web page to a page with a link to download the files.
Let me know if you need further information.
Rammohan RPosted Apr 4, 2007, 8:45 AM