Posts: 137
Joined: Dec 2006
Reputation:
0
2007-03-06, 05:06
how big of a deal would it be to implement the linux command wget? It would be nice to be able to download data files with a system call with multi threads. Also be able to see speed and % completion of downloads. I dont think there is a way to do that with python. Someone please correct me if i am wrong.
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
just a guess... but I'd imagine that since XBMC is not based on Linux the wget code will not work.
I'm not an expert but I play one at work.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
you are completely wrong.
porting wget would just be silly
Posts: 284
Joined: Nov 2006
Reputation:
0
Mayve when someone add a shell to XBMC (i'm interested on it but i don't know how to atach to a TCP port) would implement a fake wget. Until that... there's no option.
Posts: 928
Joined: Feb 2004
Reputation:
0
Asteron
"Skilled" Python Coder
Posts: 928
The ftp server has a shell like interface. You can execute builtin commands via SITE operations. I just don't see much of a point for it all. Scripts are the way to go.
Posts: 137
Joined: Dec 2006
Reputation:
0
I didnt mean the actual wget command. Something similar. But as Asteron pointed it out to me there is a http api to do this. Thanks alot. This is pretty close to what i need accept is there anyway to get file download status? Such as speed and completion percentage?
Posts: 137
Joined: Dec 2006
Reputation:
0
Also to be able to download from a location that has http authentication.