Possible duplicate:
How to implement ftp support in WP7?
Hello everybody,
I am trying to write a WP7 application to display Australian weather, and for this I need to directly upload and process files on an FTP server containing all the data.
I was very surprised to see that WP7 does not support FTP through the Framework, so does anyone know about this? I tried this code using WebClient, but of course I get a NotSupportedException: - (
Uri BOMUri = new Uri("ftp://ftp2.bom.gov.au/anon/gen/fwo/IDN10064.xml");
client.Credentials = new NetworkCredential("anonymous", "janeDoe@contoso.com");
client.DownloadStringAsync(BOMUri, "100064_summary");
I thought it might be possible to upload an FTP file using HTTP, but I'm not sure. Does anyone have any ideas how I can get around this (no need to upload all the files to an HTTP server through a regular WinForms or service)?
, .
Mike