Difference between revisions of "Synchronize Configuration"
m |
|||
Line 6: | Line 6: | ||
"keepAlive": false, | "keepAlive": false, | ||
"preferZip": false, | "preferZip": false, | ||
+ | "forceLocalTime": true, | ||
"purge": false, | "purge": false, | ||
"setTimeAttempts": 3, | "setTimeAttempts": 3, | ||
Line 21: | Line 22: | ||
* <code>'''keepAlive'''</code> - Shell and SFTP connections will not be closed after synchronization is done and will be reused for the next synchronization. | * <code>'''keepAlive'''</code> - Shell and SFTP connections will not be closed after synchronization is done and will be reused for the next synchronization. | ||
* <code>'''preferZip'''</code> - Prefer ZIP for uploading source files. | * <code>'''preferZip'''</code> - Prefer ZIP for uploading source files. | ||
+ | * <code>'''forceLocalTime'''</code> - Set local time instead of UTC for archived files. | ||
* <code>'''purge'''</code> - Execute <code>PURGE</code> command after uploading source. | * <code>'''purge'''</code> - Execute <code>PURGE</code> command after uploading source. | ||
* <code>'''setTimeAttempts'''</code> - The maximum number of attempts to set file time. '''NOTE''': the first attempt to set file time may be rejected because the file is busy. VMS IDE will re-try to set time again. | * <code>'''setTimeAttempts'''</code> - The maximum number of attempts to set file time. '''NOTE''': the first attempt to set file time may be rejected because the file is busy. VMS IDE will re-try to set time again. |
Revision as of 10:52, 11 June 2019
Synchronize Configuration Example
{ "synchronize": { "downloadNewFiles": "edit", "keepAlive": false, "preferZip": false, "forceLocalTime": true, "purge": false, "setTimeAttempts": 3, "setTimeByShell": true, "unzipCmd": "" } }
Settings Description
downloadNewFiles
- Strategy for downloading remote files which are newer than local copies.- overwrite - remote files will overwrite local files.
- skip - remote files will not be downloaded but an appropriate warning message will be shown.
- edit - remote files will be downloaded into memory and the edit-merge window will be opened to allow the user decide what changes to save.
keepAlive
- Shell and SFTP connections will not be closed after synchronization is done and will be reused for the next synchronization.preferZip
- Prefer ZIP for uploading source files.forceLocalTime
- Set local time instead of UTC for archived files.purge
- ExecutePURGE
command after uploading source.setTimeAttempts
- The maximum number of attempts to set file time. NOTE: the first attempt to set file time may be rejected because the file is busy. VMS IDE will re-try to set time again.setTimeByShell
- If the SFTP server on the OpenVMS host did not set the file time, VMS IDE can use DCL commands to do this.unzipCmd
- Is used to run a user-defined command to unzip archive; default isunzip -oo "-D"
and file name added at the end of the command.