mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Move files to logical positions, no more copying of files.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
require_once dirname(__FILE__) . '/../../www/config.php';
|
||||
|
||||
$grp = "a.b.grp";
|
||||
$msgid = "2df9e8a3$1$2314$6d4158fb@reader.xsnews.nl";
|
||||
|
||||
$nntp = new NNTP;
|
||||
$nntp->doConnect();
|
||||
$sampleBinary = $nntp->getMessage($grp, $msgid);
|
||||
$nntp->doQuit();
|
||||
|
||||
if ($sampleBinary === false)
|
||||
{
|
||||
echo "-Couldnt fetch binary \n";
|
||||
}
|
||||
else
|
||||
{
|
||||
file_put_contents("test.part", $sampleBinary);
|
||||
}
|
||||
Reference in New Issue
Block a user