ials = new NetworkCredential("realuserid",
"realpassword");
// Copy the contents of the file to the request stream.
byte[] fileContents = File.ReadAllBytes(@"c:\MikeN\test.zip");
//sourceStream.Close();
request.ContentLength = fileConte
Aaron,
Thank you for your interest. I get an immediate timeout at:
FtpWebResponse response = (FtpWebResponse)request.GetResponse();
I thought I mentioned that... sorry.
MikeN
On 8/2/2013 1:36 PM, Aaron [via Mono] wrote:
> When and in what way does it fail? Do you receive an exception?
>
:\cygwin\tmp\monobuild\build\BUILD\mono-2.10.9\mcs\class\System\System.Net\FtpWebRequest.cs:479
at LHHTService.FTP.Upload (System.String dest, System.String src)
[0x0005c] in C:\MikeN\xamarin\ftpupload\ftpupload\FTP.cs:131
at ftpupload.MainClass.Main (System.String[] args) [0x00015] in
C:\MikeN