On Wed, 10 Oct 2007 07:20, [EMAIL PROTECTED] said:

> gpg --homedir c:\gnupg ---batch --trust-model always --output
> \\server\backups\archive1.7z.gpg -e -r user
> \\server\backups\archive1.7z
>
> And I'm getting this error:
>
> gpg: can't open `\\\\server\\backups\\archive1.7z': No such file or directory
> gpg: \\\\\\server\\backups\\archive1.7z: encryption failed: file open error
>
> I've checked and the file (archive1.7z) isn't in use. Any ideas what's going 
> on?

I am not sure whether UNC works at all.  Would need to test this.
However you can overcome the problem easily:

 gpg --homedir c:\gnupg ---batch --trust-model always -e -r user
     <\\server\backups\archive1.7z >\\server\backups\archive1.7z.gpg

This works because gpg won't see any file name but operates on the data
received on stdin (connect to the input file) and sends the output to
stdout (connected to the output file).


Salam-Shalom,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to