The code seems right. // Get the object used to communicate with the server. FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://www.testdomain.com/test.htm"); But what is wrong is the directory path. As you said, the path doesn't exists, then you should not use that. Do one thing, Type: ftp://server from windows explorer enter your login details and check the right path. Hope this helps. cheers