Post a reply

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

TimB

Long dash in remote directory

Hello,

I am using a script to download files from a remote directory.

In WinSCP it works fine. From the WinSCP GUI I create the script. In the script following remote directory needs to be accessed
    "cd ""/Radio Productiehuis UPLOAD/Steve DeKoning – De Vlaamse EXTRA 15""" ^

Now when running the script following error appears

Fout tijdens wisselen van map naar '/Radio Productiehuis UPLOAD/Steve DeKoning ÔÇô De Vlaamse EXTRA 15'.
/Radio Productiehuis UPLOAD/Steve DeKoning ÔÇô De Vlaamse EXTRA 15: No such file or directory.

As you can see the dash is not properly transferred. So I change it to a normal dash but it seems to be shorter in length.
    "cd ""/Radio Productiehuis UPLOAD/Steve DeKoning - De Vlaamse EXTRA 15""" ^

vs
    "cd ""/Radio Productiehuis UPLOAD/Steve DeKoning – De Vlaamse EXTRA 15""" ^

Anyway the error is the same, path is not found properly because the dashes don't match.

Any solution?

Thanks