User1906506808 posted
P.S. I am using C# project. In case ,There are 4 xml files in my server computer. My pages are <http://www.abc.com/upload.aspx> and <http://www.abc.com/download.aspx> on server if my server is <http://www.abc.com>. They are used for uploading and downloading
process. Question 1 : Can I copy that 4 xml files to the specified folder (eg. C:\XML\ ) on client computer by clicking a button "Download" in the page , <http://www.abc.com/download.aspx>?, which means that people no need to click "save as" to the download
these 4 xml files. Question 2 : Can I get 4 xml files from the specified folder (eg. C:\XML\ ) on client computer and upload it to the server computer of specified folder by clicking a button "Upload" in the page , <http://www.abc.com/upload.aspx>?, which
means that people no need to choose files that needed to be uploaded as there are so specifed folder at client computer. Question 3 : Can it upload to PDA from server via client computer and via ActiveSync? Thx all , I would be greteful if someone can solve
my problem. Thx ~~~~
User-1391363652 posted
Q1. To store something on the client's computer you'd have to use VBScript/JScript. Any antivirus will throw a red flag if you do it. Chances are you won't have permissions to access the client's file system. Also, I think IE will display an xml as a page instead
of popping up a download dialog box.
User-150667735 posted
Q1 & Q2: Not possible using standard html. You cannot force download to specific folders, and you cannot force upload of specific files. Downloads must be saved by users, uploads must be chosen by users. When thinking about the security aspect, this makes perfect
sense. Your only options are to go for a signed java applet or an activex control. BR, Rasmus
User-150667735 posted
Another possibility is to embed a .net control on a page, and execute it client-side. But this requires .net to be installed on all clients...