Janos,

Thanks for the reply. After still having issues with retrieving attachments (I 
actually have an older build of the webui so the line numbers didn’t match), I 
decided to take a look at the error logs from Apache. Come to find out, my 
install is a little different than what the default config is set for the 
webui. I've added in the proper paths for pilerget and pileraget into 
config-site and all is well.

This just goes to show that a little more research helps out before calling in 
support! :)

Steve Miller

-----Original Message-----
From: Janos SUTO [mailto:[email protected]] 
Sent: Friday, May 24, 2013 2:31 PM
To: [email protected]
Subject: Re: Zero byte attachements


Hello Steve,

On 2013-05-24 19:04, Steve Miller wrote:
> Hi everyone,
> 
> I was just notified by one of the users we have set up as an auditor 
> that when he tries to download an attachment from piler, it comes in 
> as the correct filename and extension, however it has no content and 
> downloads as a zero byte file. I have tested downloading attachments 
> from my own archived emails, and they all are zero bytes as well.
> 
> Is there something that I am missing, or do I really have no 
> attachments saved for all the email we have archived?

I also found the bug, and it's already fixed. Please get the following
patch:

https://bitbucket.org/jsuto/piler/commits/b6eb3b13ba11a41c9f887837fc326886d32a6ca3

or get the complete raw file:

https://bitbucket.org/jsuto/piler/raw/b6eb3b13ba11a41c9f887837fc326886d32a6ca3/webui/model/search/message.php

I think it will solve the issue. Your attachments are safe, you may verify with 
the pilerget command,

Janos


-------------------------------------------------------------------------------------------
This email is the property of NACA and/or its relevant affiliate
and may contain confidential and privileged material for the sole use of
the intended recipient(s).  Any review, use, distribution, or disclosure
by others is strictly prohibited.  If you are not the intended recipient
(or authorized to receive for the recipient), please contact the sender
and delete all copies of the message.  Any views expressed in this message
are those of the individual sender, except where the sender specifies, and
with authority, states them to be the views of NACA.

Reply via email to