PHP Classes

Upload file to directory of my server with download link: How I can upload this file to my server with download link

Recommend this page to a friend!
  All requests RSS feed  >  Upload file to directory of my server...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Upload file to directory of my server with download link

Edit

Picture of Mehran Ko by Mehran Ko - 7 years ago (2016-05-12)

How I can upload this file to my server with download link

This request is clear and relevant.
This request is not clear or is not relevant.

+3

I want to upload a 700 megabyte file to directory of my server with download link of some file that exist on another server.

  • 2 Clarification requests
  • 2. Picture of Manuel Lemos by Manuel Lemos - 7 years ago (2016-05-15) Reply

    Did you try PHP function file_get_contents?

    • 3. Picture of Mehran Ko by Mehran Ko - 7 years ago (2016-05-15) in reply to comment 2 by Manuel Lemos Comment

      yeah i used this!

  • 1. Picture of Mehran Ko by Mehran Ko - 7 years ago (2016-05-12) Reply

    i mean upload large file via url to my host as fast as possible

    • 4. Picture of Manuel Lemos by Manuel Lemos - 7 years ago (2016-05-15) in reply to comment 1 by Mehran Ko Comment

      This is not clear. Do you want:

      1. Have a form to let a user of your site upload a large file and then make that file available for download from your site with a link?
      2. Or you want to pass a URL of file on one site and retrieve that file to your server to make it available for download in your site with a link?
      3. Or do you have one server running PHP and want to upload a file to another server so it makes the file available for download with a link?
    • 5. Picture of Mehran Ko by Mehran Ko - 7 years ago (2016-05-16) in reply to comment 4 by Manuel Lemos Comment

      i wana upload a file on my server with url...

      just for me not users,,,

      i think this "Or you want to pass a URL of file on one site and retrieve that file to your server to make it available for download in your site with a link?" is near some thing that i needed

Ask clarification

1 Recommendation

PHP HTTP protocol client: HTTP client to access Web site pages

This recommendation solves the problem.
This recommendation does not solve the problem.

+2

Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 23325 - 7 years ago (2016-05-16) Comment

You can use this HTTP client class. It can retrieve the contents of a remote file with a given URL and you can store the contents in small chunks, so it does not exceed the configured PHP memory limits.


Recommend package
: 
: