Page 1 of 4

Download a regular link with NSP2 ? [ S O L V E D ! ]

PostPosted: Fri Jan 27, 2012 7:06 pm
by bozo29
It is possible to download a usual link from http or ftp with NSP2 using TorrentFlux or otherwise?
And if so, how?

Re: Download a regular link with NSP2 ?

PostPosted: Fri Jan 27, 2012 10:58 pm
by fvdw
torrenflux should be able to do using wget entry box

unfortunate the wget version included is the busybox one that doesn't support the "i" option torrenflux is using to read the url form a file
To make it work we need to incorporate a full wget version

I will put this on the to do list

Re: Download a regular link with NSP2 ?

PostPosted: Fri Jan 27, 2012 11:07 pm
by fvdw
for time being you could use this version of wget, it should work with fvdw-sl-11-0

put the file in the folder /opt/bin and set it executable using chmod 755 /opt/bin/wget
Now change the path in torrenflux pointing to wget form /usr/bin/wget to /opt/bin/wget (it is under >Admin>server)
past the url link you want to download in the wget box in home menu of torrenflux and choose inject+start if you want the download to start immediately, if you choose inhject then it will appear in the list of files to be downloaded and you need to start it manually

I tested it and it worked fine on my system

wget.zip

Re: Download a regular link with NSP2 ? [ S O L V E D ! ]

PostPosted: Sat Jan 28, 2012 8:16 am
by bozo29
Thank you for advice. I'll do that maybe tomorow. Today I change my HDDs in laptop and I have to reinstall Windows.
It happens sometimes that some large files are not on torrents. And the site to have problems with internet connection and take very long time to download that file.
This is an example: http://rip.7bf.de/current/RIPLinuX-13.7.iso
Is Linux that I used to make the installation of "fvdw-sl". And I still use for maintenance (formatting, backup .... etc). It is based on Slackware-Linux.
In these cases I prefer to download with NSP2.
I will try. I hope to get along, because I have not used before, "TorrentFlux-b4rt".
I started once and when I saw the interface, I got headache and I stopped it. :lol:
Thanks,

Bozo

Re: Download a regular link with NSP2 ?

PostPosted: Sat Jan 28, 2012 11:12 am
by Jocko
thank you, Fvdw
for this new compile

This version is very useful and can be used for other needs.
For example, it allows me finally to download files from FREE service that requires the options "cookies"

Re: Download a regular link with NSP2 ?

PostPosted: Sat Jan 28, 2012 1:47 pm
by fvdw
Hi Jocko it is not a new compile it is (GNU Wget 1.11.4) taken from binaries in the compiler and toolchain I use ;)

I will download the latest version of wget (1.13) and try compile that

ps did you check if the ssl features of this wget version work (so to download from https) ?(I think they might need some libs)

Re: Download a regular link with NSP2 ?

PostPosted: Sat Jan 28, 2012 9:03 pm
by bozo29
Sorry, does not work, although I followed the procedure exactly.

"TorrentFlux-b4rt" is a too complicated with lots of extra settings and behaves strangely. :shock:
The NSP2 web gui report that "Torrentflux-b4rt" is "Disabled", although I am connected to its interface at the (http://ip-nas:8002).
And when I past the url link that I want to download in the wget box in home menu of torrenflux and choose inject+start look what I get:
Capture.jpg

An error with no explanation. :roll:
I think this program is too much for me. :oops:

Re: Download a regular link with NSP2 ?

PostPosted: Sat Jan 28, 2012 9:39 pm
by Jocko
Good evening bozo29,

I don't understand because I managed to download from your link,

The only changes made ​​in the default config are:
I fixed the link for the transmissioncli
Code: Select all
Specify the path to the Transmission binary (/usr/local/bin/transmissioncli).
/usr/bin/transmissioncli-175


but I installed the new wget in /usr/bin (after renaming the previous command wget !) and of course change permission and owner (root:root and permission 755)
Code: Select all
chown 0:0 /usr/bin/wget
chmod 755 /usr/bin/wget

testtflux.jpg

Re: Download a regular link with NSP2 ?

PostPosted: Sat Jan 28, 2012 10:10 pm
by bozo29
Please if you can you have little patience with me and explain it in detail:
but I installed the new wget in /usr/bin (after renaming the previous command wget !)


because fvdw say:
put the file in the folder /opt/bin and set it executable using chmod 755 /opt/bin/wget
No change the path in torrenflux pointing to wget form /usr/bin/wget to /opt/bin/wget (it is under >Admin>server)

and i'm little confussed. :roll:
I do not know linux very well. I am beginner.

Thanks in advance,
Bozo

Re: Download a regular link with NSP2 ?

PostPosted: Sat Jan 28, 2012 10:44 pm
by Jocko
Ok, no problemo! :mrgreen:

Normally, you can keep the method explained by fvdw.
Do you make the change in the window admin-> server about wget option?

(Note you must read : Now change the path in torrenflux pointing to wget form /usr/bin/wget to /opt/bin/wget (it is under >Admin>server) Missing w!.

But if, with this change, you don't still success to download, you can try my config :

before saving wget in /usr/bin, rename the current wget command :
Code: Select all
mv /usr/bin/wget /usr/bin/wget2

Then put the new command in /usr/bin and change its permissions
Code: Select all
chmod 755 /usr/bin/wget

and end, restore the default setting about wget in the window admin->server: /usr/bin/wget

I think you are near success...

I'll be back :mrgreen: