Downloading a file
-
Hi How do I download a file in my c# program? I am trying to download an exe file from a webserver to a local directory at my PDA. I have tried to use the WebClient class from c# .NET but it seems that it doesn't exists in Compact Framework. Can anyone please help me to solve this?
-
Hi How do I download a file in my c# program? I am trying to download an exe file from a webserver to a local directory at my PDA. I have tried to use the WebClient class from c# .NET but it seems that it doesn't exists in Compact Framework. Can anyone please help me to solve this?
Hello, Yes, the WebClient class is not implemented in CF. You can use the HttpWebRequest/FileWebRequest, or mainly the WebRequest class. Check the MSDN reference for more information on these classes. Regards, Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com
-
Hello, Yes, the WebClient class is not implemented in CF. You can use the HttpWebRequest/FileWebRequest, or mainly the WebRequest class. Check the MSDN reference for more information on these classes. Regards, Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com
-
The FileWebrequest does not seem to be in the Compact Framework either. Or should I add a reference or something?
Hello, Sorry about that. Yes, FileWebrequest is not available in CF. However you can use the HttpWebRequest or WebRequestclass to achieve the desired. Regards, Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com
-
Hello, Sorry about that. Yes, FileWebrequest is not available in CF. However you can use the HttpWebRequest or WebRequestclass to achieve the desired. Regards, Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com