Active Topics

 


Reply
Thread Tools
Posts: 15 | Thanked: 1 time | Joined on Apr 2007
#1
Hi!

How can I download a single file froma URL? I've got a link and want to download this file. It is a videofile, which is opened by the mediaplayer, but it cant be played. But the format is supported. Possible with xTerminal?

Any suggestions?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#2
You should be able to just click it in the browser and store it to disk (an option menu should pop up).

Or from an xterm:
Check if 'curl' is installed. It's on mine, so it's probably in one of the common repositories.
Then: curl http://url/filename -o destination_path/filename
(if you cd to the destination path (e.g. SD card) then just -o filename)

There's also 'wget' which works as curl but you don't have to specify -o, just cd to target directory first. But you will have to hunt around a bit to find 'wget' (it's not on my N800)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
vees's Avatar
Posts: 95 | Thanked: 6 times | Joined on Apr 2007 @ the Imperial Homeland
#3
the best download application I ever used is wget which I do not remember exactly where I got but from one of the repos listed here
__________________
Motto: chown -R linux:GNU world
http://vineyardsaker.blogspot.com/
 
Posts: 15 | Thanked: 1 time | Joined on Apr 2007
#4
Hi

I've found wget, but now Ive got another problem... how can I cd to the SDcard?
Which path do the Cards have?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#5
In xterm, enter 'df -h'
You'll see several filesystems, including /media/mmc1/ and /media/mmc2/.
These are your SD cards (if you have two). /media/mmc1 is the external slot, mmc2 the internal one. 'df -h' will show the size of the filesystem, which is how I figured out which was which the first time (one of my cards is much larger than the other)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 15 | Thanked: 1 time | Joined on Apr 2007
#6
Hi! Tahnk works perfectly! Is there any tutorial for xterm? Would like to get to know more about Linux and xterm etc..
 
vees's Avatar
Posts: 95 | Thanked: 6 times | Joined on Apr 2007 @ the Imperial Homeland
#7
Originally Posted by Garfield360 View Post
Hi

I've found wget, but now Ive got another problem... how can I cd to the SDcard?
Which path do the Cards have?
All media in Debian is under, well, /media

and, /media/mmc1/ and /media/mmc2/ is where the cards are. Try the command 'mount' to get lots of info on all the mounted filesystems and their configuration.

HTH
__________________
Motto: chown -R linux:GNU world
http://vineyardsaker.blogspot.com/
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:14.