download file
hi,
I am on linux
How do I download a file from this site ?
http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY
when I do
$wget http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY
then I get a small file by the name of "gm.asp?ai=214" with content like this.
<asx version="3.0">
<!-- GMX -->
<title>CastUP: Unknown Error</title>
<entry>
<title>Error: Unknown Error</title>
<author></author>
<ref href="http://" />
</entry>
</asx>Regards
Mettavihari
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 24 lines · you
hi,
I am on linux
How do I download a file from this site ?
http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY
when I do
$wget http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY
then I get a small file by the name of "gm.asp?ai=214" with content like this.<asx version="3.0">
<!-- GMX --> <title>CastUP: Unknown Error</title> <entry> <title>Error: Unknown Error</title> <author></author> <ref href="http://" /> </entry> </asx>
Quoted 7 lines
Regards
Mettavihari
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
The reason you are getting that is because that's the file you're telling it to download.
wget is working perfectly.
Are you trying to have wget figure out where the asp file is pointing you to download?
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Are you getting this error because address contains the & character, that it's used by shell to start proccess in background,
you can easily download file with wget by putting double quotes in address:
wget "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY"
or use \& instead &, like this:
wget http://switch3.castup.net/cunet/gm.asp?ai=214\&ar=1050wmv\&ak=TY
Cheers;
Renê
Quoted 43 lines · Ben Kevan
Quoted 24 lines · you
hi,
I am on linux
How do I download a file from this site ?
http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY
when I do
$wget http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY
then I get a small file by the name of "gm.asp?ai=214" with content like this.<asx version="3.0">
<!-- GMX --> <title>CastUP: Unknown Error</title> <entry> <title>Error: Unknown Error</title> <author></author> <ref href="http://" /> </entry> </asx>Quoted 7 lines
Regards
Mettavihari
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqsThe reason you are getting that is because that's the file you're telling it to download.
wget is working perfectly.
Are you trying to have wget figure out where the asp file is pointing you to download?
Quoted 5 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Hi Renê and Ben
Thank you for the reply's
Quoted 9 lines · Renê
Are you getting this error because address contains the & character, that it's used by shell to start proccess in background,
you can easily download file with wget by putting double quotes in address:wget "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY"
or use \& instead &, like this:
wget http://switch3.castup.net/cunet/gm.asp?ai=214\&ar=1050wmv\&ak=TY
Thank you so much. I do get the file that wget is asking for. But as you might know I am trying to download the video file that is referenced to in this file
If any one of you can help with that would be great.
regards
Mettavihari
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
I think that are lot of ways, but this one should work:
1) Get the file with stream urls:
wget -O videos "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY"
PS: The contents will be saved in file "videos"
2) Extract the stream urls:
cat videos | grep "mms://" | sed "s/<ref href=\"\(.*\)\".*/\1/" > urls
3) Now file "urls" contains each stream url
4) You can save the stream with Mplayer:
mplayer -dumpstream "mms://s95wm.castup.net/server12/39182686-61.wmv?ct=BR&rg=NA&aid=214&st=0&ts=0&cu=77D67414-0C4A-4A7E-A3EE-41600FDA4131"
PS: Do not forget to put the stream url in double quotes :)
Cheers;
Renê
Quoted 20 lines · Bhikkhu Mettavihari
Hi Renê and Ben
Thank you for the reply's
Quoted 9 lines · Renê
Are you getting this error because address contains the & character, that it's used by shell to start proccess in background,
you can easily download file with wget by putting double quotes in address:wget "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY"
or use \& instead &, like this:
wget http://switch3.castup.net/cunet/gm.asp?ai=214\&ar=1050wmv\&ak=TY
Thank you so much. I do get the file that wget is asking for. But as you might know I am trying to download the video file that is referenced to in this file
If any one of you can help with that would be great.
Quoted 8 lines
regards
Mettavihari
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Thank you Renê
That is working fine.
with metta
Mettavihari
Quoted 19 lines · Renê
I think that are lot of ways, but this one should work:
1) Get the file with stream urls:
wget -O videos "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY"
PS: The contents will be saved in file "videos"
2) Extract the stream urls:
cat videos | grep "mms://" | sed "s/<ref href=\"\(.*\)\".*/\1/" > urls
3) Now file "urls" contains each stream url
4) You can save the stream with Mplayer:
mplayer -dumpstream "mms://s95wm.castup.net/server12/39182686-61.wmv?ct=BR&rg=NA&aid=214&st=0&ts=0&cu=77D67414-0C4A-4A7E-A3EE-41600FDA4131"
Quoted 37 lines
PS: Do not forget to put the stream url in double quotes :)
Cheers;
Renê
Quoted 28 lines · Bhikkhu Mettavihari
Hi Renê and Ben
Thank you for the reply's
Quoted 9 lines · Renê
Are you getting this error because address contains the & character, that it's used by shell to start proccess in background,
you can easily download file with wget by putting double quotes in address:wget "http://switch3.castup.net/cunet/gm.asp?ai=214&ar=1050wmv&ak=TY"
or use \& instead &, like this:
wget http://switch3.castup.net/cunet/gm.asp?ai=214\&ar=1050wmv\&ak=TY
Thank you so much. I do get the file that wget is asking for. But as you might know I am trying to download the video file that is referenced to in this file
If any one of you can help with that would be great.regards
Mettavihari
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs