Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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

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

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
martin

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.
Patrick1150

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?