I've followed the instructions you've provided and deploy the role on azure and I can connect to the role using coreFTP and filezilla. However, when I try to connect using the following code in a c# app I get a protocol error when I try to call reqFTP.GetResponse();
reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri("ftp://url of worker role "));
reqFTP.Credentials = new NetworkCredential(userid , password);
reqFTP.UseBinary = true;
reqFTP.Method = WebRequestMethods.Ftp.ListDirectory;
reqFTP.Proxy = null;
reqFTP.KeepAlive = false;
reqFTP.UsePassive = false;
response = reqFTP.GetResponse();
reader = new StreamReader(response.GetResponseStream());
string line = reader.ReadLine();
Digging around the message returned I get an error of "The remote server returned an error: (220) 220 FTP to Windows Azure Blob Storage Bridge Ready\r\n" However looking at your code this isn't an error and should allow me to proceed. Have you got
any ideas on why this would be happening?
Thanks for building this in the first place, its a really useful tool to have.
All the best