Before creating a Ftp task, we recommend that you use the FTP browser utility to get a connection and determine that everything is fine. The ftp task allows you to transfer files from/to a server. Ftp transfers can be logged.
Ftp Profile
Select the ftp profile for the ftp server you need to connect to. You
should have previously created a ftp profile using the Ftp Profiles menu
item.
Ftp Option
Use 'Get' to transfer files from the server to your local system. Use
'Put' to transfer files from your local system to the server. Use
'Delete' to delete files from the server.
Remote Directory
This is the most difficult parameter to enter correctly. Please
check the exact name of the ftp server with your network administrator
or internet service provider. We recommend that you use the FTP browser
utility to determine the correct value of the full path name of the remote
directory. Execute privilege is required for the remote directory for all
Ftp functions. Read privilege is required for Ftp Get. Write
privilege is required for Ftp Put and Ftp Delete functions. Note
that the path is case sensitive for unix Ftp servers. If you are
transferring files from the Default FTP login directory you can leave this
field blank.
Local Directory
Enter the full path name of the local directory where you need to put
or get files.
Backup to Local Directory
Enter the full path name of the local directory where you need to backup
files. Please note that the Backup to local directory option does not support
subdirectories. i.e. all files will be placed in the backup directory without
creating new subfolders in it.
Backup to Remote Directory
Enter the full path name of the remote directory where you need to
backup files. Please note that the Backup to remote directory option does
not support subdirectories. i.e. all files will be placed in the backup
directory without creating new subfolders in it.
Use Staging
If you select this option, the file is first transferred to the local
(get) or remote (put) folder entered. This folder acts as a staging
folder. After the Ftp transfer is complete, the file is then moved
to the final destination folder. This option is useful to prevent
processes from working on files while the Ftp transfer is in progress.
In the staging field, you should enter the full path name of the final
destination directory. Please note that the staging option does not support
subdirectories. i.e. all files will be placed in the final destination
directory without creating new subfolders in it.
Filename
Enter the name filter for the files you wish to copy using
the following wildcard rules
This field also supports dynamic variables.
Using dynamic variables, you can select a file based on current date/time
in addition to the normal wildcard search
Transfer Type
File transfer type can be either Ascii or Binary. Binary mode
will transfer .exe, .jpg or other binary files. Binary mode should
be the default transfer mode. Ascii mode can be used to transfer
text or html files etc... If you transfer binary files in ascii mode,
you will not get the entire file.
Append date/time To filename
You can choose to append either the date
or the date and time or custom code you set to the name of the transferred
file. If your filename has an extension, the date or date and time
is appended before the extension. This feature is useful for archive purposes.
Maintain Timestamp (for Get only)
The task can reset the transferred local files timestamp to match the
remote files timestamp ONLY for the GET option.
Reset Local Timestamp (for Put only)
There is no Ftp standard to reset the remote files timestamp to match
the local files timestamp after a Ftp PUT. Hence, we provide the option
to reset the source local files timestamp to match the newly transferred
remote files timestamp. There is a new proposal to reset the remote file
timestamp using the MFMT (Modify file modification time) command. However,
not many Ftp servers support the MFMT command. (Many Ftp servers incorrectly
allow setting the remote file timestamp using the MDTM command. This is
not an Ftp standard to set the remote file timestamp and we do not let
our Ftp task to reset the timestamp through this MDTM command.)
Delete Source file
You can choose to delete the source file after a successful transfer.
If the ftp transfer fails, the source file will not be deleted.
Transfer with temporary extension
The file is transferred with a temporary extension and then renamed
to the desired name after the transfer is complete. This is useful
if you have automated scripts/programs which continously scan and work
on transferred files with certain extensions. This ensures that the
automated script will not work on a partially transferred file.
Log Transfer
You can choose to log the transfer into the Ftp
Log.
Transfer Modified files
If you choose this option, files are transferred only if the source
file is newer than the target file.
Transfer Modified files using Ftp Log
If you choose this option, files are transferred only if the source
file date is newer than the source file date entry in the Ftp Log.
For this option to work correctly, you should also enable the 'Log Transfer'
option. If the source file path is not found in the Ftp log, then
the file is always transferred.
Date Filter
If you need to filter files based on file modified date, select this
option. For the between option, enter 2 values separated by '-' (2-4 etc..).
Examples:
Older than 5 Minute, Newer than 2 Day, Between 3-5 Day, Between 1-4
Hour