Gpg4win ecncrypt/decrypt not working on server

Hi,

The following code that is part of my application works fine on my development machine, but not when deployed to the server.

C:\Program Files\GNU\GnuPG\gpg2.exe --batch --passphrase-passfile -o outfile -d infile

passfile : Contains the passphrase
infile : Full path of the input gpg file
outfile : Full path of the output file

The server is windows 2003 R2.
Do I need to specify any other parameters in the command ?
Please help me to resolve this issue.

Thanks!

Your command line string looks good. If you log into the server can you see the file (and path) from the server? Could be a mapped drive problem not the same as on your PC, etc. What error message are you getting from the server?