Forum Cross Platform with Xamarin

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

FtpWebRequest class not found

FredericGrasFredericGras FRMember ✭✭
edited October 2015 in Cross Platform with Xamarin

Hello,
When I create new "Blank App (Xamarin.Forms Portable)" model project from VS2015, it creates PCL, Android, iOS and WinPhone projects correctly.
However, when I try to implement a FTP client using code lines below:

using System.Net;
...
FtpWebRequest ftpRequest = (FtpWebRequest)WebRequest.Create("ftp://ftp.server.address/");

I have the "the name does not exist in the current context" error on the "FtpWebRequest" class.
Can someone help me? Thanks.

Tagged:

Best Answer

Answers

Sign In or Register to comment.