Tracker Bug 256

More precise keeping remote directory up to date

Last modified: 2008-06-23 11:41:13

Bug List: [73 of 228]    [First] [Last] [Prev] [Next]   [Show last search results]

: More precise keeping remote directory up to date Bug# 256
: WinSCP : Unspecified
: General : unspecified
Status: NEW : Medium
Resolution:   : Enhancement
Fixed in: ---
Description
2008-06-23 11:41
WinSCP uses FindFirstChangeNotification API to receive notifications about changes in watched directory(is). This way it does not receive information about particular file that gets changed. To find out, it performs synchronization between the changed local directory and corresponding remote directory. This has following impacts:
1) Even non-changed files may get updated on remote directory, if the directories were not synchronized before.
2) Plain renaming of local file results in deleting original remote file and uploading new file.
3) Timestamps of local and remote files must be aligned.
4) Timestamp precision is important. Particularly with FTP, with precision of one minute, frequent changes are not uploaded, as the timestamp may stay the same.

Solution is either to:
1) Remember last state of local directory(is) and compare new directory state against it (and not against remote directory)
2) Use ReadDirectoryChangesW API (available since Windows 2000 only).

http://winscp.net/forum/viewtopic.php?t=5815

Bug List: [73 of 228]    [First] [Last] [Prev] [Next]   [Show last search results]

Bug filters: [Pending bugs] [All bugs] [Fixed bugs]

Search

What is WinSCP?

WinSCP is an open source SFTP client and FTP client for Windows. Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol. [More]

WinSCP is also available as a plugin to two file managers, FAR and Altap Salamander.

License

WinSCP is free, open-source software, and is distributed under the GNU General Public License (GPL). [More]

Associations

Site design by Black Gate