codepro.exportToFTP
(Application Developer only... replaced in Eclipse 3.0 by FTP)

(old task name "ExportToFTP")

codepro.exportToFTP performs an export identical to one that would be performed manually using the standard Application Developer FTP Export Wizard.  The various options for this Ant task type include:

  • connectionTimeout
  • firewallHostname
  • firewallUserID
  • firewallPort
  • firewallPassword
  • firewallSavePassword
  • firewallType
  • firewallSocksHostName
  • firewallSocksPort
  • firewallUseSocks
  • ftpFolder
  • ftpPort
  • overwrite
  • passiveMode
  • password
  • resource
  • savePassword
  • serverName
  • serverPath
  • useFirewall
  • userLogin

Example:

<codepro.exportToFTP 
        serverPath="ftp://username@www.mycompany.com/test" 
        serverName="www.mycompany.com" 
        ftpFolder="/test"
        userLogin="username" 
        password="password"
        resource="/WSAssistTest/export_ftp.xml"/>
    <Resources>
        /WSAssistTest/export_all_ejb.xml
        /WSAssistTest/export_appclient.xml
        /WSAssistTest/export_ear.xml
        /WSAssistTest/export_ejb.xml
        /WSAssistTest/export_ftp.xml
        /WSAssistTest/export_war.xml
        /WSAssistTest/property_prompt_test.xml
    </Resources>
</codepro.exportToFTP>