FTP Transfer
Last updated
Last updated
This component transfers file(s) from remote source to remote target (s)FTP server. This component does not store the file data in the local disk.
· File transfer with FTP In/FTP Out.
This file transfer involves local disk. The files collected are stored in the local disk before sending to the target server. Once the collecting is complete, reading and sending to the target server is started. The collected files are kept unless After Put option is Delete.
· File transfer with FTP InOut
This file transfer involves no local disk. The files are transferred to the target server directly while being collected. This transfer gets the output stream not from local file but from remote (s)FTP output stream. And this transfer sends files in binary mode.
One input tab consists of these two types of attributes.
Source System ID
Remote (s)FTP system id
System id comes from System list.
Input Path
Local source file with path.
The file name can have wildcard (*).
File Not Found?
Action indicator when input file does not exist.
· Ignore
· Throw error
Wait Seconds
Wait seconds until the file is not modified. Default is 5 seconds.
Check Size
· If yes, compare the size of the original file and the transferred file.
After Get
Action on the input file after transfer.
Do nothing
Backup
Delete
Backup Path
Back up path of the source file, if the action after get is backup.
Remote path
Target System ID
Remote (s)FTP system id
System id comes from System list.
Output Path
Remote file name with path
Target File Operation
Action when the target file already exists.
Skip
Overwrite
Append
ResultFiles
Result file information. This is a list of the transferred files.
ResultFileCount
The number of the transferred files.
· _name - source file name
· _path - source file path
· _transferredSize - transferred file size
· lastModified - last modified time in milliseconds.