SSoft7 / upload

Automatically exported from code.google.com/p/upload
1 stars 1 forks source link

Nothing get's uploaded #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hmm...I don't get it - nothing is uploaded to the site, and the logfile shows 
completion!

Made a small modification to upload.php too, didn't help:
 if (preg_match("/www.your.site.url/i", $announce)) {
            $announce = "http://your.site.url/announce.php";
            $filename=str_replace(".torrent","",$filename);
            }

This would change the announce url to the correct one, as the key/id is 
submitted during the upload. 

To force the correct announce url, this would be needed. Didn't help either...

Now the "bot" does indeed get logged in on the site. Running a manual execution 
in console, would lead to something like this:

The site did return something. Maybe you have to re-download the torrent.
Please see /tmp for proper results...

Finally, nothing is registered on the site or in the db! In other words - it 
does not work.

Please respond on this, so we can have some clarification on topic.

Original issue reported on code.google.com by bluray2...@gmail.com on 29 Aug 2013 at 4:05

GoogleCodeExporter commented 9 years ago
How does your site handle the upload process?

Most source codes are now messing with the .torrent file and changing the 
announce contained within to their announce.

This kinda setup will not work with how this upload script is coded.  

Pasting the code from your takeupload.php (Might be called different depending 
on your source code) would help here I think.

Original comment by stnr...@gmail.com on 7 Jun 2014 at 8:22