Topic "session.SynchronizeDirectories: e.touch is Nothing"

Author Message
arthur_kozinski
[View user's profile]

Joined: 2012-10-04
Posts: 1
Hello,

I'm kind of troubled concerning the SynchronizeDirectories method.

I've copied your entire code example (VB.NET) using a 'remote' sync (local ==> remote), and when running the piece of code
, on the FileTransferred event, I keep getting the symptom that "e.tocuch remains Nothing".

(while your comments in this piece of code is rather explicit on this one: (...) This should never happen with Session.SynchronizeDirectories (...))


Of course, with this situation, timestamps on the remote server remain the same (untouched) and pretty soon, syncing becomes a slow and lengthy proces (certainly with a lot of files + issues of system clock that is 2 hours later then on my remote machine etc..)


Any idea what might be causing this? I've included a logfile....

Thanks for any form of insight in this troublesome matter.

Grtz,

Arthur
WinScpLog.txt (807.31 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Quote:
I've copied your entire code example (VB.NET) using a 'remote' sync (local ==> remote), and when running the piece of code
, on the FileTransferred event, I keep getting the symptom that "e.tocuch remains Nothing".

Can you set Session.DebugLogPath and email me the debug log too? Also can you break the code before disposing the Session instance and email me also the XML log? You will find the path at the beginning of the session log:
Quote:
. 2012-10-10 09:31:20.321 --------------------------------------------------------------------------
. 2012-10-10 09:31:20.321 WinSCP Versie 5.1.0 (build 2625) (OS 6.0.6002 Service Pack 2)
. 2012-10-10 09:31:20.321 Configuration: nul
. 2012-10-10 09:31:20.322 Local account: DESKTOP\filip
. 2012-10-10 09:31:20.322 Working directory: [HIDDEN]
. 2012-10-10 09:31:20.322 Command-line: "C:\Program Files\WinSCP\winscp.exe" /xmllog="C:\Users\filip\AppData\Local\Temp\tmpF05A.tmp" /xmlgroups /nointeractiveinput /dotnet=510 /ini=nul /log="WinScpLog.txt" /console /consoleinstance=_8180_964


Quote:
Of course, with this situation, timestamps on the remote server remain the same (untouched) and pretty soon, syncing becomes a slow and lengthy proces (certainly with a lot of files + issues of system clock that is 2 hours later then on my remote machine etc..)


From the log it looks like they are actually updated, but you have a timezone issue there:

Quote:
. 2012-10-10 09:31:26.052 Local file '[HIDDEN]admin_artsgegevens_opmerkingen_insert.php' [2012-10-04T18:42:37.826Z] [662] is modifed comparing to remote file '/[HIDDEN]/admin_artsgegevens_opmerkingen_insert.php' [2012-10-04T16:42:37.000Z] [623]
...
> 2012-10-10 09:32:09.269 MFMT 20121004194237 admin_artsgegevens_opmerkingen_insert.php


Please read
https://winscp.net/eng/docs/faq_synchronize
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License