Error: Exception calling "SynchronizeDirectories" with "7" argument(s): "Timeout waiting for WinSCP

Advertisement

acem77
Joined:
Posts:
20
Location:
usa

Error: Exception calling "SynchronizeDirectories" with "7" argument(s): "Timeout waiting for WinSCP

Hello, I am getting the attached error.
thanks in advance for any help.

Error: Exception calling "SynchronizeDirectories" with "7" argument(s): "Timeout waiting for WinSCP

I have been getting this error lately while trying sync dirs. I do not believe its system resource related nothing pegged when running.
Winscp 5.14 8780
2012 r2, 16GB of ram, 12 virtual processors.

I have tried to keep the connection open longer.

{$sessionOptions = New-Object WinSCP.SessionOptions -Property @{
Protocol = [WinSCP.Protocol]::Sftp
HostName = "167.19.x.x"
UserName = "ServData"
Password = "password
SshHostKeyFingerprint = "ssh-rsa 2048 p4k2wWh76DLMzm1710RkfcMvt6i16ZqGYgi3zbuC9Co="
Timeout = '00:03:00'
}

$session = New-Object WinSCP.Session -Property @{
Timeout = '00:03:00'
}

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Error: Exception calling "SynchronizeDirectories" with "7" argument(s): "Timeout waiting for WinSCP

How long does it take before you get the error? Is it more than those 3 minutes?

Reply with quote

acem77

yes way after 3 min, I will not see the log for a while. The last logs created and last modified date was about 1hr,
this is a 2+ TB job to sync an already seeded dir. It was working with no real issues before while running right after syncing multiple dirs in the same script. even after splitting it out to its own script it gets the timeout.

Reply with quote

Advertisement

You can post new topics in this forum