Problema con: keepuptodate

Advertisement

Direcline
Joined:
Posts:
4
Location:
Madrid

Problema con: keepuptodate

WinSCP / Version: 5.19.5
Windows 11 Pro / Version 21H2

Protocol: SCP
Operación: scripting
Interface: Commander
Problema con el comando: keepuptodate

Ejecutando el script paso a paso:
C:\Program Files (x86)\WinSCP>winscp
winscp> open scp://Dixxxxxx:Clxxxxxxxxxxx@212.xxx.xxx.xxx:22/ -hostkey="ecdsa-sha2-nistp384 384 xxxxxxxxxxxxxxxxxxxxxxx=" -rawsettings FollowDirectorySymlinks=1 SendBuf=0 SshSimple=0
Buscando servidor...
Conectando al servidor...
Autentificando...
Usando el nombre de usuario «Dixxxxxx».
Autentificando con la contraseña guardada.
Autentificado.
Iniciando la sesión...
Sesión iniciada.
Sesión activa: [1] Dixxxxxx@212.xxx.xxx.xxx
winscp> keepuptodate \zdatos\SVR\Directorio /D/SVR/Clientes/zPruebas/Copias
Opciones de sincronización personalizadas, diferentes a las opciones por defecto.
Buscando cambios, pulse Ctrl-C para abortar...
Explorando «\zdatos\SVR\Directorio» en busca de subdirectorios...
Observando cambios en 1 directorios...
Queda bloqueado sin respuesta, no ejecuta ninguna acción
Desde la interface Explorer pasa exactamente lo mismo

Problema.png

Reply with quote

Advertisement

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

Re: Problema con: keepuptodate

So if you modify a file in C:\zdatos\SVR\Directorio, while the "keepuptodate" is running, the updated file is not uploaded to the server? How are you modifying the file? Can you post a log file?

Reply with quote

Direcline
Joined:
Posts:
4
Location:
Madrid

Problem with: keepuptodate

The problem is that the keepuptodate command does not act in the mode:
– Local -> Remote
– Remote -> Local
It does not update the files and in neither of the two cases it responds.
It is stuck on with a fixed message:
Observing changes in 1 directories ...
Both in command mode and in explorer interface.

Reply with quote

Direcline
Joined:
Posts:
4
Location:
Madrid

Re: Problem with: keepuptodate

So if you modify a file in C:\zdatos\SVR\Directorio, while the "keepuptodate" is running, the updated file is not uploaded to the server?
– Answer: The file is not uploaded to the server
How are you modifying the file?
– Answer: Simply copy a new file to the local folder.
Can you post a log file?
– Answer: Yes, I attach the log file.

I don't understand what is happening, I have done all kinds of tests and I can't get the command to work.
I sincerely thank you for your cooperation

ConsoleCommands.png

Reply with quote

Advertisement

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

Re: Problem with: keepuptodate

There are three sessions in the log. Two GUI sessions and one scripting session. Which one should I be looking at? When exactly did you create the new file? Can you post log of one session only and give us exact time the file is created? I do not see any file beging created in the scripting log.

Anyway, in the GUI session I see that you have enabled "Existing files only" option.
https://winscp.net/eng/docs/ui_keepuptodate
And as you do not isolate the script from GUI configuration, the script likely uses that option too. Won't that explain your problem?

Reply with quote

Advertisement

You can post new topics in this forum