Skip to main content
Skip table of contents

How to save faxes in structured folders

How to:

How to let Digital Fax save incoming/outgoing faxes in structured folders on file system.

Solution:

If you want Digital Fax save the received or sent faxes to a structured tree of folders, proceed as follows.

Edit this configuration file with your favorite editor: 

CODE
<AppSuiteDir>\Apps\Stonefax\Server\System\StoneFax.ini

Under [Settings] section, locate the following parameters:

  • CopyPathFormatIncoming defines the full destination filename for incoming faxes

  • CopyPathFormatOutgoing defines the full destination filename for outgoing faxes

For example if you want to save all incoming/outgoing faxes with this structure:

CODE
K:\BACKUP\2014\08\22\In\user_a\Fax_20140822_1504_From_02037811.pdf
K:\BACKUP\2014\08\22\Out\user_a\Fax_20140822_1504_To_035288219.pdf
...
K:\BACKUP\2013\11\09\In\user_n\Fax_20131109_0957_From_02037812.pdf
K:\BACKUP\2013\11\09\Out\user_n\Fax_20131109_0932_To_072173261.pdf

Ensure the [Settings] section of the configuration file includes the following lines:

CODE
[Settings]
CopyPathFormatIncoming=K:\BACKUP\{date:yyyy}\{date:MM}\{date:dd}\In\{username}\Fax_{date}_{time}_From_{callingnumber}
CopyPathFormatOutgoing=K:\BACKUP\{date:yyyy}\{date:MM}\{date:dd}\Out\{username}\Fax_{date}_{time}_To_{callednumber}

ArchiveFileFormat=2 --> Set the archive fax format (1=TIFF, 2=PDF)

Placeholders

You can use the following placeholders as part of your file names or folder names.

{serial}

Unique identifier (serial number) of the fax

{callingnumber}

Calling fax number.

{callednumber}

Called fax number.

{remotenumber}

Remote fax number, i.e. sender for incoming faxes; destination for outgoing faxes.

{localnumber}

Local fax number, i.e. the internal number and it is destination for incoming faxes; sender for outgoing faxes.

{username}

Application username of the sender or destination of the fax

{direction}

For incoming fax it is "In". For outgoing faxes it is "Out".

{status}

Applies to outgoing faxes only. It can be "OK" or "KO".

{date:yyyyMMdd}

yyyy: Year (4 num)
yy: Yes (2 mum)
MM: Month
dd: Day
HH: Hours
mm: Minutes
ss: Seconds

{time}

Time of the day (start of transmission/reception), expressed in the "hhmm" format.

Please restart Digital Fax from the web interface after changing this configuration file.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.