Title: fileaway encrypt attribute
Last modified: October 24, 2017

---

# fileaway encrypt attribute

 *  [lwilhelm](https://wordpress.org/support/users/lwilhelm/)
 * (@lwilhelm)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fileaway-encrypt-attribute/)
 * Dear fileaway users,
    I’m trying to use fileaway to make some kind of platform
   for sharing files with some friends. In a restricted page (accessible only to
   users of a defined Group – Groups plugin). I wanted to encrypt the links (with
   the encryption attribute) but the files are corrupted when I download them. I
   produced a checksum with the cksum tool and the files on the server are the files
   I expect but when I download them, they are modified (different checksum) but
   have exactly the same size.
 * Here is the shortcode I use to download the files. Am I missing something ?
    [
   fileaway type=”table” sub=”testGrp” code=”yes” encryption=”on”]
 * I also noticed that the file is properly downloaded if I remove the encryption
   attribute but as far as I understood, the encryption should only encrypt the 
   links. Am I wrong ?
 * Kindly,
 * Lionel Wilhelm
 * P.S. By the way : thanks a lot, it is an awesome plugin !!
 * File Away Version: 3.9.6.1
    PHP : 7.1

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [thomstark](https://wordpress.org/support/users/thomstark/)
 * (@thomstark)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fileaway-encrypt-attribute/#post-9614553)
 * With non-encrypted links, the client (browser) requests the download from the
   server. With encrypted links, the server pushes the download to the browser. 
   It does this by echoing the file contents into a filename (in essence, reading
   and then rebuilding the file).
 * Likely the issue is something on your server is echoing some content while the
   file is being pushed to the client. Perhaps error reporting. That content gets
   mixed up with the file and corrupts it.
 *  Thread Starter [lwilhelm](https://wordpress.org/support/users/lwilhelm/)
 * (@lwilhelm)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/fileaway-encrypt-attribute/#post-9614639)
 * Hi Thom,
 * Thanks a lot for the quick answer 🙂 I will dig into the server log in order 
   to understand what happened. I will post a fix here if I find something relevant(
   not too config dependant).
 * Lionel

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘fileaway encrypt attribute’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

## Tags

 * [corrupted file](https://wordpress.org/support/topic-tag/corrupted-file/)
 * [encryption](https://wordpress.org/support/topic-tag/encryption/)
 * [link](https://wordpress.org/support/topic-tag/link/)

 * 2 replies
 * 2 participants
 * Last reply from: [lwilhelm](https://wordpress.org/support/users/lwilhelm/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/fileaway-encrypt-attribute/#post-9614639)
 * Status: not resolved