This project is read-only.

FTP PassiveMode

Nov 30, 2011 at 4:12 PM
Edited Nov 30, 2011 at 4:13 PM

First Post..... Please be gentle....

I am using the MsBuild Extension pack v4.0 in an attempt to automate deployment

Unfortunately, all my attempts thus far end in timeout errors :

[14:DEBUG] [StaffApplications-Build C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe]   C:\NET\WebSite\StaffApplications\FTP-Upload-StaffApplications.xml(16,5): error : Win32Exception: Error code: 12002. Please see:

Can anyone tell me - does the ftp class support FTP Passive mode - I am lead to believe that it does by this :

I am lead to understand by this ( that the Ftp class supports the use of Passive Mode.

However - if I use this :


I have the error : The "UsePassiveConnection" parameter is not supported by the "MSBuild.ExtensionPack.Communication

Is PassiveMOde available to be from MsBuild by some other means.

Thanks for any assistance.

Dec 1, 2011 at 10:22 PM


Hi Paul
The FTPTask you link to in the post is in no way related to the MSBuild Extension Pack.
From what I can tell, the task uses Passive mode. I’m not sure why your task is timing out.