Long dash in remote directory

Advertisement

TimB
Guest

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum