noobhacker101 Posted January 29, 2011 Share Posted January 29, 2011 I was wondering if there is a way i can have a file that is downloaded on purchase that when opened will redirect to my server that contains the real donwload files. The reason for this is that my host blocks uploads larger than 2M but my local server (in my house) i can upload directly to with no limit. Is this possible?If so any help would be appreciated. I dont want you to do it for me just help me help myself. Thank you-Noob Link to comment Share on other sites More sharing options...
inveostore.com Posted January 29, 2011 Share Posted January 29, 2011 If you have a limit for uploading files, then just upload a blank file or anything with any name via PS Back Office and then take a look to product_downloads table in database where you will see the name of file in download directory and upload and overwrite the old file via FTP. Link to comment Share on other sites More sharing options...
noobhacker101 Posted January 31, 2011 Author Share Posted January 31, 2011 i need to find a way to do what i originally posted i also have a size limit on my host of 500MB total. each file im uploading is in the 6 to 7 hundred MB range, so i want to host them on my private server.. so i need a way to have the redirect work. anyone please help!Edit.If i may be a little bit clearer. I want to upload a file that contains a redirect script or something like that, so when downloaded (Very small file) it will then redirect the users browser to 98.72.134.xxx (IP of the Download server i have). Is this possible?? im no good with scripts or code. i just have an imagination and a thing for trying new things. ;-)All help is greatly appreciated. -Noob Link to comment Share on other sites More sharing options...
noobhacker101 Posted February 2, 2011 Author Share Posted February 2, 2011 Bump.I really need this help.I cant get my shop live until i get this Link to comment Share on other sites More sharing options...
inveostore.com Posted February 2, 2011 Share Posted February 2, 2011 Take a look to get-file.php... Link to comment Share on other sites More sharing options...
noobhacker101 Posted February 2, 2011 Author Share Posted February 2, 2011 Thanx that actually helpd a little mainly because it gave me an idea. the get_file.php is only a bunch of letters to me im no good with coding.. sorry.But my idea is can i get PS to just download from a specific IP or site when it calls for the download instead of looking in Prestashop/downloads have it look in for ex. http://98.211.114.73/Files/test.jpgis this possible??? Link to comment Share on other sites More sharing options...
noobhacker101 Posted February 8, 2011 Author Share Posted February 8, 2011 bumpif i moved the whole prestashop shop to my own server would i have to create an SQL database on that server or could i still utilize the DB on my webhost?? Link to comment Share on other sites More sharing options...
Recommended Posts