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

Szeraax

Re: Support UNC path for local directory

martin wrote:

Support for having a UNC path in a local panel of the GUI is planned:
https://winscp.net/tracker/133

But you cannot have the UNC path as the current working directory in Windows. Try using cd \\10.x.x.x\share\folder\ in console (cmd.exe). It does not work.

So in scripting this will never work.


Oh of course! Well, at least get works fine with UNC. Thanks!
martin

Re: Support UNC path for local directory

Support for having a UNC path in a local panel of the GUI is planned:
https://winscp.net/tracker/133

But you cannot have the UNC path as the current working directory in Windows. Try using cd \\10.x.x.x\share\folder\ in console (cmd.exe). It does not work.

So in scripting this will never work.
Szeraax

Hmm, I do notice that when using the scripting file, running get *.* \\10.x.x.x\share\folder\ works 100% fine. I'll just use this instead. :)
Szeraax

Support UNC path for local directory

When running from command line and specifying -rawsettings Localdirectory=\\10.x.x.x\share\folder, I get the error:
---------------------------
Error - WinSCP
---------------------------
UNC paths are not supported.
---------------------------
OK Help
---------------------------

I would LOVE to be able to put in the actual path instead of having to do a local folder.