Questions tagged as 'download'

2
answers

Create a Download according to element id

I created a system that uploads several files, however I ran into the following problem: I need to create a way to download according to the id of the element in the database. I wonder if anyone has an idea that I can take advantage of to do thi...
asked by 03.07.2017 / 14:48
0
answers

Date and time of modification of files to download a site in wordPress

I need help, I have a WordPress site. this site has a downlaod page of files, I would like to know if there is any plugin or some way to display the date and time of modification of that file to download.     
asked by 13.06.2017 / 16:39
0
answers

how to force the download of a file in php and delete it immediately

I made a file with the fopen () function; and it needs to be downloaded to the user's computer and deleted immediately, and the file name must be in a variable, as the file name will vary depending on the user.     
asked by 27.05.2017 / 22:18
1
answer

File Download - Excel - Firefox

I have the download link for an xls file. Every day I need to DOWNLOAD this file (I can only access through firefox), SAVE in a folder to feed my spreadsheet (the spreadsheet is "linked" in this file.) I need a macro to do: download this file (t...
asked by 07.05.2017 / 15:39
1
answer

Force download with php makes file come corrupted

I use this code to force download: function filesizecurl($arquivo) { if (is_file($arquivo) === false) { return false; } $arquivo = realpath(preg_replace('#^file:#', '', $...
asked by 01.04.2017 / 20:32
1
answer

Hide download link [duplicate]

I have a difficulty, I made a system that frees file download for each specific user, this check is done by the user code logged in and month and year filters that the user fills, so necessarily the person has to be logged in to but I do not w...
asked by 10.11.2016 / 19:53
1
answer

doubts with download files

I have a folder in the cloud, and I want to generate a list in the paginal html, with all these files, so that when the user clicks, open the downlaod of the file, I'm trying as follows (this code is test only): <a href="http://zulex.com.br...
asked by 01.11.2016 / 19:54
1
answer

How do I choose where to download a report made in jasper?

So, I created an application that generates an ODT file ... in the code I am specifying exactly where it should be saved, which is in 'c: /teste/sample_report.odt' ... I put this name to test ... the problem is that the file will always be saved...
asked by 24.12.2015 / 13:04
0
answers

Function to unpack xml does not work in Linux

In my application I use a function to zip the xml files to save them in the database. When I unzip it to make the file available for download the xml does not come complete, at the end of the file it comes without a character and without the clo...
asked by 06.11.2015 / 13:38
1
answer

Download file to server [duplicate]

I own the URL where the file is downloaded from. By clicking on it, the file is downloaded directly, without even accessing and clicking on a link. That said I need a way to automate this task with PHP. A script that when downloaded downloa...
asked by 19.07.2015 / 01:07