From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bhikkhu Mettavihari" Subject: download file Date: Tue, 16 Sep 2008 23:48:36 +0530 Message-ID: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=kxPmsG5/gVUXTL5aTuBNjU/8XHp11iurenNzcq/UraM=; b=I1dAu6ZAM6HRihhad2x7gr6sVVSqOK2C2COaUS2Pk+oWGw8CLT6/EyGJuahr55Ogou uEIdOXi0PlJUymyRyVdSfHxuuMW1jaeoxzkJlL/SyO+D/Wwwigi0a62pXrZ4sZQZXDV3 BL74ydM3sWiALTuVdKr3SClsKdpAujqpI0Jls= Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Linux Newbie 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. CastUP: Unknown Error Error: Unknown Error Regards Mettavihari -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Kevan Subject: Re: download file Date: Tue, 16 Sep 2008 11:32:04 -0700 Message-ID: <200809161132.05015.ben.kevan@gmail.com> References: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=3R9SrbpqZP6L7KvHprows11B8EOGsO4kp+tbqPTI+5k=; b=qVH6LyAZYaEXlmMn73+jirnatbEAgsLqbJXlcZ0dec9Yw44mphJWVEpunk0Zrbf74u DD91pZdMZHHB60KOSQdXw4dVVfXc3PtV+LQFaOwDf9LHfI1yDO9GHhkMkXvc4NGhK0mP aMLfLZO3fZxdn9szDYfYHb4sCetL5+867lgBc= In-Reply-To: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Bhikkhu Mettavihari , Linux Newbie On Tuesday 16 September 2008 11:18:36 am you wrote: > 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. > > > > CastUP: Unknown Error > > Error: Unknown Error > > > > > > > Regards > Mettavihari > -- > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to majordomo@vger.kernel.org > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?ISO-8859-1?Q?Ren=EA?=" Subject: Re: download file Date: Tue, 16 Sep 2008 15:52:02 -0300 Message-ID: <5f9618380809161152x334e7282g5fde3ac2b4f2f789@mail.gmail.com> References: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> <200809161132.05015.ben.kevan@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=JY6srCHyYogmSAZqsMwMjz3N8Z22zhU33Bbc6pQkbF0=; b=H/lREg0ldwtOZ9Xc9M1Sqm0E6L+2nQ99vHRp+c+0vpa7NQE6HeWAhDGmx3qUjGbf+X 6Bhy8Qjj0mCVlGNlrj4H0Algii6vXr7lS42NXaycPi1i8ZRTzSHC9FL0ALrTdB0EQQef 9NPlbzUcsgBk88PYBKkLLxLMB4goSHFXhVvmc= In-Reply-To: <200809161132.05015.ben.kevan@gmail.com> Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Ben Kevan , Linux Kernel Newbie 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 addr= ess: wget "http://switch3.castup.net/cunet/gm.asp?ai=3D214&ar=3D1050wmv&ak=3D= TY" or use \& instead &, like this: wget http://switch3.castup.net/cunet/gm.asp?ai=3D214\&ar=3D1050wmv\&ak=3D= TY Cheers; Ren=EA On Tue, Sep 16, 2008 at 3:32 PM, Ben Kevan wrote: > > On Tuesday 16 September 2008 11:18:36 am you wrote: > > hi, > > > > I am on linux > > > > How do I download a file from this site ? > > > > http://switch3.castup.net/cunet/gm.asp?ai=3D214&ar=3D1050wmv&ak=3DT= Y > > > > when I do > > $wget http://switch3.castup.net/cunet/gm.asp?ai=3D214&ar=3D1050wmv= &ak=3DTY > > then I get a small file by the name of "gm.asp?ai=3D214" with cont= ent like > > this. > > > > > > > > CastUP: Unknown Error</title= > > > <entry> > > <title>Error: Unknown Error= > > > > > > > > > > > > > > Regards > > Mettavihari > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-new= bie" in > > the body of a message to majordomo@vger.kernel.org > > 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 tel= ling 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-newbi= e" in > the body of a message to majordomo@vger.kernel.org > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bhikkhu Mettavihari" Subject: Re: download file Date: Wed, 17 Sep 2008 06:12:59 +0530 Message-ID: <2e35683f0809161742l1bac0340qca83a3ff3da6029@mail.gmail.com> References: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> <200809161132.05015.ben.kevan@gmail.com> <5f9618380809161152x334e7282g5fde3ac2b4f2f789@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=S1rGsiEHwOnIGNzUTIVoBUGPrFq8cszROvrofFHTk38=; b=AynRwqSjIJuLkFMibzLF9pMb7+4XlOYSTr7okRAMMASpUrmYJxxFM7me2briRYuF2/ 4Zqpstw2wfgf5jJCrJbDdNaTBdwJxTresecYkxhLKm0wW7qPojvf2RAm6ZIuWzJhcrV+ Peblya8lDGE5Xu7eRK0Pf1PNeFXz1WIVxP4vg= In-Reply-To: <5f9618380809161152x334e7282g5fde3ac2b4f2f789@mail.gmail.com> Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Linux Newbie Hi Ren=EA and Ben Thank you for the reply's On Wed, Sep 17, 2008 at 12:22 AM, Ren=EA wrote: > 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 ad= dress: > > wget "http://switch3.castup.net/cunet/gm.asp?ai=3D214&ar=3D1050wmv&ak= =3DTY" > > or use \& instead &, like this: > > wget http://switch3.castup.net/cunet/gm.asp?ai=3D214\&ar=3D1050wmv\&a= k=3DTY 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?ISO-8859-1?Q?Ren=EA?=" Subject: Re: download file Date: Tue, 16 Sep 2008 22:37:33 -0300 Message-ID: <5f9618380809161837g748215d5n914702e7ac5f0d11@mail.gmail.com> References: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> <200809161132.05015.ben.kevan@gmail.com> <5f9618380809161152x334e7282g5fde3ac2b4f2f789@mail.gmail.com> <2e35683f0809161742l1bac0340qca83a3ff3da6029@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=+0sEDluZ/m8pWGALufzQRgiUEXKe/QxFzZl3hFjiDPY=; b=sBPXnDBVdEUZWS7A0tOwCYAq2SR7gnYBAtyIQVrL1w9THy9Kt1cwqxm6L+1V0IYGmd haUT9jOITElIZz/nbJ9NR9U5DS6aQ3J8z+yl4yJuQvPK4YRtFXKLjS9Ekq7je5Hq+FU8 ikuIDmrYOmhZCujRSLueBzl72whtHq7pOLbwQ= In-Reply-To: <2e35683f0809161742l1bac0340qca83a3ff3da6029@mail.gmail.com> Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Bhikkhu Mettavihari Cc: Linux Newbie 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=3D214&ar=3D10= 50wmv&ak=3DTY" PS: The contents will be saved in file "videos" 2) Extract the stream urls: cat videos | grep "mms://" | sed "s/ url= s 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=3DBR&rg=3DNA&aid=3D= 214&st=3D0&ts=3D0&cu=3D77D67414-0C4A-4A7E-A3EE-41600FDA4131" PS: Do not forget to put the stream url in double quotes :) Cheers; Ren=EA On Tue, Sep 16, 2008 at 9:42 PM, Bhikkhu Mettavihari wrote: > Hi Ren=EA and Ben > > Thank you for the reply's > > On Wed, Sep 17, 2008 at 12:22 AM, Ren=EA wrot= e: >> 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 a= ddress: >> >> wget "http://switch3.castup.net/cunet/gm.asp?ai=3D214&ar=3D1050wmv&a= k=3DTY" >> >> or use \& instead &, like this: >> >> wget http://switch3.castup.net/cunet/gm.asp?ai=3D214\&ar=3D1050wmv\&= ak=3DTY > > 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-newbi= e" in > the body of a message to majordomo@vger.kernel.org > 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bhikkhu Mettavihari" Subject: Re: download file Date: Fri, 19 Sep 2008 09:37:19 +0530 Message-ID: <2e35683f0809182107m1573a9b0ja7278486dcfecdf3@mail.gmail.com> References: <2e35683f0809161118q3153143kcc6221dc7dd27949@mail.gmail.com> <200809161132.05015.ben.kevan@gmail.com> <5f9618380809161152x334e7282g5fde3ac2b4f2f789@mail.gmail.com> <2e35683f0809161742l1bac0340qca83a3ff3da6029@mail.gmail.com> <5f9618380809161837g748215d5n914702e7ac5f0d11@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Bmhh/nQSqxoc2t/NJdaZC2bjX8MgMGu8pc+8K5vwdSc=; b=kTia2E1ll1uEPoUznp+Sg+DzzXjfiFfXTH6aKV9whXZOb7zEZIO3Geu56tE/uIae3o AzzGce1rCdXO6wc8pahLm9bgzpBZ5L6Iii0yh7DNgMawM+2goy8m/t0gjTPuKqm1pwve G6N58RRyDTkbOghpwkKsF47WPt5VVinnMNbsE= In-Reply-To: <5f9618380809161837g748215d5n914702e7ac5f0d11@mail.gmail.com> Content-Disposition: inline Sender: linux-newbie-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: =?ISO-8859-1?Q?Ren=EA?= Cc: Linux Newbie Thank you Ren=EA That is working fine. with metta Mettavihari On Wed, Sep 17, 2008 at 7:07 AM, Ren=EA wrote: > 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=3D214&ar=3D= 1050wmv&ak=3DTY" > > PS: The contents will be saved in file "videos" > > 2) Extract the stream urls: > > cat videos | grep "mms://" | sed "s/ u= rls > > 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=3DBR&rg=3DNA&aid=3D= 214&st=3D0&ts=3D0&cu=3D77D67414-0C4A-4A7E-A3EE-41600FDA4131" > > PS: Do not forget to put the stream url in double quotes :) > > Cheers; > > Ren=EA > > On Tue, Sep 16, 2008 at 9:42 PM, Bhikkhu Mettavihari > wrote: >> Hi Ren=EA and Ben >> >> Thank you for the reply's >> >> On Wed, Sep 17, 2008 at 12:22 AM, Ren=EA wro= te: >>> 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=3D214&ar=3D1050wmv&= ak=3DTY" >>> >>> or use \& instead &, like this: >>> >>> wget http://switch3.castup.net/cunet/gm.asp?ai=3D214\&ar=3D1050wmv\= &ak=3DTY >> >> 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-newb= ie" in >> the body of a message to majordomo@vger.kernel.org >> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs