locked
Aborting a synch FtpWebRequest RRS feed

  • Question

  • I have a case to abort an ftpwebrequest download at any time during file download operation. The process is synch and I am using (FtpWebResponse)ftpRequest.GetResponse() so I cannot use Ftpwebrequest.Abort();

    How can I close the connection without unhandled exception that causes my ftpDownload_Run thread to close or complete.

    Thanks in advance

    Tuesday, September 16, 2014 10:42 PM