RoboTask User's Guide
Keyword Index
Home page



IconQuick Start Guide
IconSeveral practical recommendations
IconMenus
IconActions
IconTriggering Events
IconAppendix
IconOther software

© 2004-2016 Neowise.com

SFTP Synchronization

Top  Previous  Next

Synchronizes files between a local folder and a remote folder on the SFTP server. This high-level operation is very similar to "Synchronize folders", but there are several important differences:

The time when a file is created on the FTP server is determined with the accuracy of one minute. So, if the difference in the versions of a file is several seconds, no file exchange will take place.
When you upload a file to the FTP server, the time when the file was last modified is not saved. The time when the file was created will correspond to the time when you finished uploading it to the server. So, the file you have just uploaded to the server becomes a bit "younger" than the initial file.

These differences present certain inconveniences while synchronizing folders with an SFTP server, but still this operation will free you from creating complicated synchronization task.

SFTPSynchronize

Local Folder.

The local folder for synchronization. You can specify the path to the folder manually or you can use the folder selection button to the right from the input field. Also, you can use variables in the path to the folder.

 

Remote Folder.

The folder on the FTP server for synchronization. You can use variables in the path to the folder.

 

Include Mask.

The list of file masks that you need to synchronize. You should separate file masks with a comma. All files are specified by default ("*.*").

 

Exclude Mask.

The list of comma-separated file masks that should be excluded from synchronization. For example, you can specify *.* in the Include mask option and *.txt in the Exclude mask option. It will mean that all files except *.txt should be synchronized.

 

Synchronization mode.

There are 3 options to choose from:

Local => Remote – newer files from the local folder will be copied to the FTP server
Local <= Remote – the reverse operation, i.e. copying new files from the server to the local folder.
Local <=> Remote – bidirectional synchronization. Downloading newer files from the FTP server and uploading new files to the server.

 

Include Subfolders.

Select this checkbox if you want to include all subfolders in the specified folders to be included in the synchronization process.

 

Exact copy.

This option works only when the synchronization is one-directional. It does not make sense in case of bidirectional synchronization and so it is unavailable. If you want to get the exact copy of the initial folder, select this checkbox.

Note that the "Exact Copy" mode first copies newer files from the source folder to the target folder and then removes all files from the target folder that are absent in the source folder.

 

Output Activity to Log

If to switch on this parameter, the action will display the information about operations with files (download, upload, delete files) during the work.

 

Output Activity to variable

If you want to write the log of synchronization into a variable, switch on this checkbox and put the variable name in the field. The action will put the information about downloaded, uploaded and removed files into the variable as text.

 

Variable

Allows you to add a variable to the action or triggering event that you selected. You must place the cursor in a edit box in the settings dialog window of the action or event and then click the {V} button.

 

note Related Topics

SFTP Log On

SFTP Log Off

SFTP Download

SFTP Upload

SFTP Rename File of Folder

SFTP Delete File

SFTP Change Folder

SFTP Create Folder

SFTP Remove Folder

SFTP PWD (print working directory)

SFTP File Loop

SFTP File Permissions

SFTP Command