Publishes specified files to an ftp server.

<ftpPublisher>
  <username>someuser</username>
  <password>P@ssVVord1</password>
  <continueOnFailure>false<continueOnFailure>
  <server>ftp.mydomain.com</server>
  <port>21</port>
  <useSsl>false</useSsl>
  <usePassive>false</usePassive>
  <workingDirectory>/</workingDirectory>
  <files>
    <file>Debug\${ProjectName}\${Label}\${ProjectName}.${Label}.msi.zip</file>
    <file>Debug\${ProjectName}\${Label}\${ProjectName}.${Label}.src.zip</file>
    <file>Debug\${ProjectName}\${Label}\${ProjectName}.${Label}.zip</file>
  </files>
  <timeout>60</timeout>
  <proxy>
    ...
  </proxy>
</ftpPublisher>

Name Description Required Type Default
username The ftp user account false string anonymous
password The ftp account password false string anonymous@anonymous.com
continueOnFailure if true, the build will not fail if this publisher fails false boolean false
server The ftp server host name / ip address true string
port The ftp port false string 21
useSsl If true, then an SSL connection will be used to connect to the ftp server false boolean false
usePassive If true, then passive mode will be used false boolean false
proxy Connect to service through a proxy. see Proxy false Proxy
timeout The number of seconds before the publisher times out false integer 0
files A string collection of local files to upload. true string[]
workingDirectory The path on the ftp server to upload the files to false string /

Last edited Jan 13, 2009 at 8:43 PM by camalot, version 5

Comments

No comments yet.