Hello,
i'm connect for test and wakeup my NAS with WinSCP-batch, and after %errorlevel%=0 start FFS-batch on Windows 10.
...
"%ProgramFiles(x86)%\WinSCP\WinSCP.com" /command "open sftp://%NAS-ServerUserID%:%NAS-ServerPasswort%@%NAS-ServerIP%:6822/Sicherung -hostkey=""*""" "ls" "exit" /log=%FreeFileSyncDir%WinSCP.log /loglevel=0
if %errorlevel% EQU 0 set FFSmode=%NAS-ServerIP% & GOTO FFsync
...
if %FFSmode% EQU %NAS-ServerIP% "%ProgramFiles%\FreeFileSync\FreeFileSync.exe" "%FreeFileSyncDir%%SyncFileIP%"
...
This batch is running without problems and start FFS!
From time to time and depending on the speed of the connection, I get a variety of errors.
LIBSSH2_ERROR_SFTP_PROTOCOL: Failed opening remote file - LIBSSH2_FX_NO_SUCH_FILE [libssh2_sftp_opendir]
LIBSSH2_ERROR_TIMEOUT: Der Vorgang hat das Zeitlimit von 15 Sekunden überschritten. [libssh2_sftp_write]
The directory has the necessary rights and the timelimit on NAS is 300 seconds.
I have the question of whether you increase this time limit somewhere in the ffs?
Thank you for helpful answers and a nice evening.
Günter
via WinSCP and FFS to Synology NAS (LIBSSH2_ERROR_SFTP_PROTOCOL/libssh2_sftp_opendir)
- Posts: 1
- Joined: 14 Aug 2018
- Site Admin
- Posts: 7212
- Joined: 9 Dec 2007
Timeouts for FTP and SFTP connections can now be entered in the cloud folder picker: viewtopic.php?t=5664