Getting "Invalid access to memory" error when calling SynchronizeDirectories

Advertisement

morten.strand@km.kongsberg.com
Joined:
Posts:
3
Location:
Kongsberg

Getting "Invalid access to memory" error when calling SynchronizeDirectories

When using the SynchronizeDirectories method together with the checksum synchronization criteria, I always get the error "Invalid access to memory".
var synchronizationResult =
    session.SynchronizeDirectories(
        SynchronizationMode.Local, localFolder, remoteFolder, true, true,
        SynchronizationCriteria.Checksum);
I'm using the WinSCP version 6.3.3.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,200
Location:
Prague, Czechia

Re: Getting "Invalid access to memory" error when calling SynchronizeDirectories

Thanks for your report.

This issue is being tracked already:
Issue 2291 – Failure when trying to automate file synchronization by checksum on an SFTP server that does not support it natively

I'm sending you an email with a development version of WinSCP to the address you have used to register on this forum.

Reply with quote

martin
Site Admin
martin avatar

Re: Getting "Invalid access to memory" error when calling SynchronizeDirectories

I do not know yet. But would it help you? Do you even have a shell access to the server in the first place? (as your SFTP server does not support checksums).

Reply with quote

Advertisement

You can post new topics in this forum