newbtophp Posted June 22, 2009 Share Posted June 22, 2009 I have many files hosted at www.hotfile.com. I want to have a form on my site where I input the hotfile.com download links, and then once submit is clicked the files from www.hotfile.com are uploaded to my site. PS: The reason I want to do is, I dont want the download links to be dead, and I can't be downloading the files to my computer since, I have a slow connection, uploading the files to my site will make sure thiers never a dead link. Hotfile download links look like this: http://hotfile.com/dl/6270357/13cd015/phpdblesson01introduction.rar.html If I break the hotfile.com download url down; This always stays the same: http://hotfile.com/dl/ This always changes: /6270357/13cd015/ This is the filename (always changes): /phpdblesson01introduction. This is the file format (download links can only be .rar.html or .zip.html): .rar.html Im guessing this would be done by cURL and the FTP format: [ftp=ftp://user:email@example.com]ftp://user:firstname.lastname@example.org[/ftp] Can anyone give me some help, so I can work in to the code. Thanks alot. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.