Jump to content

server2server PHP script, url input?


Kayoszero

Recommended Posts

Hi, first post so point me in the right direction if this in the wrong place...

I dont really know any PHP (other than little easy bits) but i know a little HTML and JS so forgive me if this is simple

 

I found this script on http://freecodesnippet.com/ its called "AJAX server to server direct file transfer"

 

Ive been using this script a while now and think its FANTASTIC, basicly it downloads a file from a url on to the server the script is running on, and because its AJAX it works with HUGE files. The only problem i am having is downloading lots of files: i dont want to be copying each url individually, and as far as i can see there is no way to do this?

 

Theres two ways i think this could be possible to implement:

1. Add something to the script to allow the script to work by entering the url of the file i want to download to the end, similar to how http://anonym.to/en.html works with http://domain.com?http://url.com/file

2. Or the easier to use but possibly harder to impliment a way to either extract urls from a txt file or have a box to enter in severall url rather than just one

 

thanks to anyone that can help :D

 

SOURCE CODE IN ATTACHMENT!!

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.