By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,872 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,872 IT Pros & Developers. It's quick & easy.

ftp through gprs connection

P: 3
hi,

I'm developing a ftp application for windows mobile using visual studio 2008 and opennetcf library.
I have a problem creating the connection to ftp server. I can connect to grps but after that, when I try to create the connection to ftp, I got this error:

NotSupportedException
at
System.Net.WebRequest.Create(Uri requestUri, Boolean schemeOnly


the code is:

FtpWebRequest cerere = FtpWebRequest.Create("ftp://" + ServerAddress + "/") as FtpWebRequest;
cerere.Credentials = new NetworkCredential(UserName, Password);
cerere.KeepAlive = true;
cerere.Binary = true;
cerere.Passive = true;


Thank you very much.
Feb 6 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.