Support UNC path for local directory

Advertisement

Szeraax
Joined:
Posts:
10
Location:
Utah, USA

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.

Reply with quote

Advertisement

Szeraax
Joined:
Posts:
10
Location:
Utah, USA

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. :)

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,074
Location:
Prague, Czechia

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.

Reply with quote

Szeraax
Joined:
Posts:
10
Location:
Utah, USA

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!

Reply with quote

Advertisement

You can post new topics in this forum