Make WinSCP work with IBM HOST (tiny fix)
hi i'd like for winscp to be able to download files from IBM Host.
Currently it's possible to connect, browse and view files. But download fails with "Error changing directory to '/'path.to.dir''. Command CWD fails: access to resource is denied by server.", which looks like a simple path resolution error.
I think this is due to winscp assuming as the path separator and incorrectly prefixing it to each .
The generated powershell transfer code that doesen't work is :
But a removal of that slash in makes it work beautifully. but only when executing from the command line and not in the gui...
Currently it's possible to connect, browse and view files. But download fails with "Error changing directory to '/'path.to.dir''. Command CWD fails: access to resource is denied by server.", which looks like a simple path resolution error.
I think this is due to winscp assuming
/
cd
The generated powershell transfer code that doesen't work is :
& "~\scoop\apps\winscp\current\WinSCP.com" ` /command ` "open ftp://user:pass@example.com/ -rawsettings CacheDirectories=0 CacheDirectoryChanges=0" ` "cd /'PATH.TO.DIR'" ` "lcd C:\" ` "get -transfer=ascii A7ID001" ` "exit"
But a removal of that slash in
cd /'PATH.TO.DIR'