operating on remote files (Windows) using a UNC

Andre Heinecke aheinecke at intevation.de
Tue Jul 14 19:37:37 CEST 2015


Hi,

Sorry for the late reply, gpg4win-users-en would probably have been a better 
place for this question.

On Tuesday, June 30, 2015 09:57:55 PM Charles Spitzer wrote:
> Whenever I attempt to operate upon a remote file using a UNC, it doesn't
> seem to find the file.
> 
> C:\Users\cspitzer>gpg --decrypt "\\remote.machine.com\data\Vendor File
> Transfers\Archive\Input.2015-06-15.045720.csv.pgp" gpg: can't open
> `\\\\remote.machine.com\\data \\Vendor File Transfers
> \\Archive\\Input.2015-06-15.045720.csv.pgp': No such file or directory gpg:
> decrypt_message failed: No such file or directory

I stumbled upon this also once. You need to use forward slashes instead of 
backslashes for gnupg to work with UNC paths e.g.:

gpg2 --decrypt //remote.machine/encrypted.gpg

Works. 

-- 
Andre Heinecke |  ++49-541-335083-262  |  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20150714/7321b82b/attachment.sig>


More information about the Gnupg-users mailing list