non-standard HTTP header supported by Apache to offload the process of serving large static files from dynamic scripts (eg: PHP, Python, Perl) after they have performed the necessary authorization or restriction logic.
Questions tagged [x-sendfile]
155 questions
0
votes
1 answer
Building X-Sendfile header sender to see "hidden" files
Today I got an issue, which says I should hide some files from the public. Actually these are some "user specific" files so others than the owner should not be able to see them.
I didn't want to read the files with fread or something like that if…

Damien
- 674
- 5
- 12
-1
votes
1 answer
xsendfile really slow download
So, i put together this code for a ftp server, i noticed that when i try to download large files (over 2gb) my ram would start to top out (i have 16gb ram) so i installed xsendfile, made it work, i got happy, my ram wouldn t go that high anymore,…

Th3 Outsider
- 1
- 1
-1
votes
1 answer
X-Sendfile if file size be more than 4G it coulden't be downloaded
I'm using Temporary Links Script In PHP (http://www.kidmoses.com/blog-article.php?bid=53) and it works very well, but the problem is that the Temporary Links are not resumable, also if file size be more than 4G it coulden't be downloaded.
For…

user225049
- 23
- 1
- 7
-1
votes
1 answer
PHP - return image with header("X-sendfile") returns null on first iteration, binary on second (using ajax)
Okay. I have a gallery-app I'm building, where I have a list of thumbnails, and when clicked, fetches the original image via an ajax-call to a showfile.php which just returns the file via header() using X-Sendfile. This works, but for some reason I…

junkfoodjunkie
- 3,168
- 1
- 19
- 33
-1
votes
1 answer
calling a method to check if a file exists after delayed job is done -RAILS
I have a method that calls a delayed job to create zip files and stores them at a specific folder.now i know that the when the client clicks on the download zip button,this request will be lost as the process will be sent to background job.So when…

Milind
- 4,535
- 2
- 26
- 58