FTP Upload Action—Setting Properties

The FTP Upload action is used to upload files to an FTP server. The FTP Log On action must be used first to begin the FTP transaction and connect with the server.

To set FTP Upload properties

  1. From the Task Builder Available Actions pane, open the Internet\FTP folder and double-click the FTP Upload action or drag it into the Steps pane.

  2. In the Local files box, enter the path and file name for the files to be uploaded, or click the Open Folder button and navigate to the file or folder. You can use asterisk (*) and question mark (?) as wildcard characters. For example, use *.DOC to include all files in the selected folder with a .DOC extension. Separate multiple entries with a pipe symbol (|). Example: C:\sourcefoldername\filename.txt|C:\sourcefoldername\*.doc

  3. In the Remote file box, enter the fully qualified UNIX path and file name for the destination location on the FTP server, or click the Open Folder button, click Connect, and use the FTP browser to navigate to the file or folder.

    Folders that do not exist will be created at runtime provided the logon user has the rights to do so.

  4. In the Session name box, enter the name of the FTP transfer session. The name is set in the FTP Log On action.

  5. Click the Options tab and select or clear the check boxes according to the following guidelines:

  6. In the Transfer type box, select ASCII if you are uploading text files and want to use ASCII. The default is Binary.

  7. In the Exclude mask box, enter the names of any files or folders you want to exclude from the upload. You can use asterisk (*) and question mark (?) as wildcard characters. Separate multiple entries with a pipe symbol (|).

  8. To exclude files from the upload based on date, select the Only if newer than or Only if older than check boxes. Then use the date and time boxes to select the desired date and time. You can also click the Custom button and select a limiter such as Last 24 hours, or you can select Expression and enter an expression.

  9. To limit the upload according to file attributes, click the Attributes tab and then select On or Off for any attributes that you want used as criteria in the file selection. The default is Doesn't matter, which means the attribute will be ignored. The attributes to select from are: Read-only, Archive, System, Hidden, and Compression.

  10. To set the Description tab properties, refer to Description Tab Options.

  11. To set the Error Causes and On Error tab properties, refer to Step Error Handling.

  12. When finished, click OK to save settings and close the properties dialog window.

See Also

About Actions

Adding Task Steps

FTP Upload Action