Upgrading from 5.17.10 to 5.19: synchronize: CWD failed.

Advertisement

Patrick1150
Joined:
Posts:
2
Location:
Fribourg

Upgrading from 5.17.10 to 5.19: synchronize: CWD failed.

Task:
Downloading new files from the server.

Script:
# embryocd/download: download all except .exe
synchronize local d:\xampp\htdocs\arimipu\embryocd\download /embryocd/download -criteria=time -filemask="|*.exe"
Error Messages:
Lokal „d:\xampp\htdocs\arimipu\embryocd\download“ <= Entfernt „/embryocd/download“
Synchronisieren …
Lokal „d:\xampp\htdocs\arimipu\embryocd\download“ <= Entfernt „/embryocd/download“
embryocd                  |            0 B |    0.0 KB/s | binary |   0%
Fehler beim Anzeigen des Verzeichnisses „/embryocd/download//embryocd“.
Verzeichnisinhalt konnte nicht abgerufen werden
CWD failed. "/embryocd/download/embryocd" : no such file or directory.
A(b)brechen, (W)iederholen, Über(s)pringen, (A)lle überspringen: Überspringen
download                  |            0 B |    0.0 KB/s | binary |   0%
Fehler beim Anzeigen des Verzeichnisses „/embryocd/download//embryocd/download“.
Verzeichnisinhalt konnte nicht abgerufen werden
CWD failed. "/embryocd/download/embryocd/download" : no such file or directory.
A(b)brechen, (W)iederholen, Über(s)pringen, (A)lle überspringen: Überspringen
Vergleichen …
Synchronizing NO subdirs resolves (temporarily) the problem:
# embryocd/download: download all except .exe; but no subdirs (|*/)
synchronize local d:\xampp\htdocs\arimipu\embryocd\download /embryocd/download -criteria=time -filemask="|*.exe; */"
Any ideas to resolve the problem?

Reply with quote

Advertisement

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

Re: Upgrading from 5.17.10 to 5.19: synchronize: CWD failed.

So do you mean that with 5.17.10 your script was working and with 5.19 it does not? Please attach a full session log files from both versions.

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Patrick1150
Joined:
Posts:
2
Location:
Fribourg

Re: Upgrading from 5.17.10 to 5.19: synchronize: CWD failed.

Hello Martin
Exactly, the files are not downloaded.
Therefore I included the error messages to fix the problem.

Task: download all files from /embryocd/download, -filemask="|*.exe"
WinSCP tries (it doubles somehow the path):
1) /embryocd/download//embryocd
=> CWD failed. "/embryocd/download/embryocd" : no such file or directory.
2) /embryocd/download//embryocd/download
=> CWD failed. "/embryocd/download/embryocd/download" : no such file or directory.

Downloading all files from /embryocd/download, but NO subdir, works!
=> -filemask="|*.exe; */"

Regards, Patrick

Reply with quote

martin
Site Admin
martin avatar

Re: Upgrading from 5.17.10 to 5.19: synchronize: CWD failed.

"Please attach a full session log files from both versions."

Reply with quote

Advertisement

You can post new topics in this forum