Skip to content
Advertisement

Tag: download

List and download clicked file from FTP

I have FTP and I need list all files in FTP in uploads directory and after click on any listed file it will download the specific file from FTP. It list my files in uploads directory but when I will try to download file so it types me “no file” My code: Answer Your link in the generated <a> tag

PHP Download MP3 files from directory on server

I am attempting to download MP3 files to the user computer located in a directory named “songs” on the server. I have been able to run a script which downloads these files through the browser. However, these files download strictly as text with .mp3 extension. I want these files to be playable mp3 files upon downloading from the server. Here

PHP to serve download for a Java application

I am wondering how to make a download server more robust. For now, I have a server, on https, storing zip files, named with a random hash, indexed by my database. The directory containing does not permit listing (htaccess) to avoid manual download directly browsing the directory on the server. The Java app displays the description of the files, and

Downloading a file from a PHP server via a website [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question I have physical files which I want users to download on my website. The files are located at: C:/xampp/htdocs/myfile/uploads/* I need a PHP script which

Create a zip file and download it

I am trying to download a 2 files by creating the zip file on local-server.the file is downloaded in zip format but when i try to extract it.it gives error: End-of-central-directory signature not found. Either this file is not a zip file, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zip

pdf download html2pdf

i am using html2pdf class to generate pdf. in my problem its generate pdf for the html code but it not give the dialog box option to download that pdf. plz help my cose is following. <?php …

Pause-able download for Apache

I have an Apache server running which hosts a php web application. This server also provides provisions for downloading a file size of around 900MB from it. However, while testing the application I found out that it’s not possible to pause the downloads and resume them later on. Could someone help me? Is it an apache property I must change?

Is there some limit on a size of a file when causing a download with PHP?

Trying to force-download file with PHP using usual: And it does successfully for files somewhere below 32 mb. For bigger ones it just returns zeroed file. Obviously there’s some kind of limit, but what sets it? Using Apache 2.2.11 and PHP 5.3.0. Answer I eventually stumbled on this post: http://w-shadow.com/blog/2007/08/12/how-to-force-file-download-with-php/. Adding all the headers recommended there and also using: before

Advertisement