ssh - Need to rsync log files from a server that only allows sftp connections -
We have access to the logfile directory of our CDN so that we can parse the log directly. I want to write a script or similar that will synchronize the file from there to the local directory. Rsync seems like the path, except when I send the command, I get: When I try ssh in the remote directory, I get: What do I do? Do you want to use only the newly added tail of the rsync log to download? It is also possible with SFTP though rsync is better that it can confirm that the previous content is the same. For example, you can: This ensures that only new or modified files are downloaded. To get started, check out the guide. (I'm the author of WinSCP)
This service is only for SFTP Connection allows
get -neweronly -reume / path / * .log c: \ cdnlogs \
-Rim ensures that only one tail of the current log is downloaded (i.e. the transfer "resumes" as was previously interrupted).
Comments
Post a Comment