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: Error Code 123

Where/how do you get the error? In WinSCP GUI? Or is it some kind of script?

Anyway, it looks like the filename ends with a new-line character. That's not allowed in Windows.
Can you download other files from the server?
bilkins

Error Code 123

Hi there!

I have been receiving the following error when attempting to download files from a remote computer cluster:

System Error. Code: 123.
The filename, directory name, or volume label syntax is incorrect

From the log file:


. 2019-05-28 14:53:18.597 Copying "/home/clb02327/MAX-IV Feb/280219/ScreenOpt_28-May-2019/280219.mag
" to local directory started.
. 2019-05-28 14:53:18.597 Binary transfer mode selected.
. 2019-05-28 14:53:18.597 Checking existence of partially transferred file.
. 2019-05-28 14:53:18.597 Opening remote file.
> 2019-05-28 14:53:18.597 Type: SSH_FXP_OPEN, Size: 83, Number: 5891
< 2019-05-28 14:53:18.597 Type: SSH_FXP_STATUS, Size: 24, Number: 5636
. 2019-05-28 14:53:18.597 Discarding reserved response
< 2019-05-28 14:53:18.598 Type: SSH_FXP_HANDLE, Size: 13, Number: 5891
> 2019-05-28 14:53:18.598 Type: SSH_FXP_FSTAT, Size: 13, Number: 6152
< 2019-05-28 14:53:18.599 Type: SSH_FXP_ATTRS, Size: 37, Number: 6152
* 2019-05-28 14:53:18.600 (EOSError) System Error. Code: 123.

* 2019-05-28 14:53:18.600 The filename, directory name, or volume label syntax is incorrect
. 2019-05-28 14:53:18.600 Asking user:
. 2019-05-28 14:53:18.600 Can't create file 'C:\Users\clb0232703\Documents\PhD\GPT\Bill_GPT\MAX-IV_Feb\280219\ScreenOpt_28-May-2019\280219.mag
.filepart'. ("System Error. Code: 123.

. 2019-05-28 14:53:18.600 The filename, directory name, or volume label syntax is incorrect")