AD_Archive

Export Binary Data from AD_Archive to Files

  1. Log into psql on your Linux Server and run:
metasfresh=# COPY (SELECT binarydata from ad_archive limit 1) TO E'/tmp/youroutputfile.zip' (FORMAT binary);
  1. Then apply this on the file to make the zip compatible:
zip -FFv youroutputfile.zip --out fixed.zip
  1. Copy the file fixed.zip to your Computer and unzip it into AdempiereArchive.

  2. Rename AdempiereArchive to AdempiereArchive.PDF

  3. Open AdempiereArchive.PDF using PDF Viewer


View source file on GitHub.com