![]() ![]() You see in the screenshot that for some files it says updating meaning that only additional data is downloaded and for other it says downloading meaning that the file is new so the whole file was downloaded. You can see an example in the following screenshot. LogSync ftpsync -h %FtpServerAddress% -l %LocalFolderPath% -r %RemoteFolderPath% -u %FtpUser% -p %PasswordName% Once the password has been encrypted and stored you can run FTP synchronizations with the following command line: In this case you need to run the encryption command with this specific account. Take this into account if you want to schedule the synchronization with a scheduled task running under another account. The password is encrypted with the Windows DPAPI (Data Protection API) and can only be decrypted by the account that encrypted it. Once the command is launched the tool will prompt you to enter the password in clearĪnd once the password has been validated it will display a confirmation message that the password was encrypted and stored. Later you will need to specify that same name in order to use the encrypted password in a synchronization command. You need to specify a name for the password to encrypt. You do that with the following command line: If you want to synchronize logs from a FTP server, the first thing to do is to encrypt and store the password of the FTP account. The command line tool has three commands. So if you already have a big number of log files in the remote folder, I advise to first transfer all existing files with FileZilla for example and then only, do regular synchronizations with a LogSync command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |