SFtp Synchronize Folders
This task allows you to synchronize a local folder on your workstation, with a folder on your SFtp server. This is a simple task, which is based on synchronization functionality, provided by our supplier SFTP api. Because this task is dependent on the functionality of the supplier SFTP api, it is limited in its options. Additional options will only be possible if our SFTP api supplier incorporates more options.
Option
Two synchronization modes are supported.
1) GET
All unpaired files and folders in the remote folder are copied to the local folder.
Older files in the local folder are replaced with their newer counterpart in the remote folder.
2) PUT
All unpaired files and folders in the local folder are copied to the remote folder.
Older files in the remote folder are replaced with their newer counterpart in the local folder.
Delete unpaired files on target
Use this option carefully since, this will remove all unpaired files and folders in the Target.
Remote Directory
Enter the full pathname (case sensitive) of the remote directory on the SFTP server.
Local Directory
Enter the full pathname of the local directory. Note that the pathname is case sensitive on Unix systems.
Include subdirectories
If you select this option, all subdirectories and files within the Source Directory are copied to the Target Directory. If a subdirectory does not exist within the target folder, then it is automatically created.
Umask Permissions
The umask has to be entered in 4-digit octal format. The umask command is used to set the permissions of all files that are put onto the server. Leave this field blank, to use the default Sftp server permissions, for the transferred files. The Umask is the reverse of the normal file permissions, i.e. 0777^umask = permissions.
Examples:
0077 = -rwx------ (all permissions for user, no permissions for group and world)
0000 = -rwxrwxrwx (all permissions for user, group and world)
0022 = -rwrxr-xr-x (all permissions for user, read+execute permissions for group and world)
0033 = -rwxr--r-- (all permissions for user, read permission for group and world)
0011 = -rwxrw-rw- (all permissions for user, read+write permissions for group and world)