File names come out wrong

Ask for help about FlashGot, no registration needed to post
Kristian

File names come out wrong

Post by Kristian » Mon Mar 30, 2009 3:49 pm

Hi,

I'm trying to download a bunch of .txt files that are all named "IX[date].txt" e.g. IX080102.txt. This is the page: http://202.155.2.90/_dl.asp?cmd=dl&id=8 ... es/IX2008/

The problem is that all files are renamed "_dl.asp" when they are downloaded i.e. _dl.asp, _dl(1).asp, _dl(2).asp (and so on) instead of IX080102.txt, IX080103.txt, IX080104.txt (and so on).

Does anybody know of a workaround for this?


Cheers,
//Kristian
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

User avatar
therube
Ambassador
Posts: 7528
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: File names come out wrong

Post by therube » Mon Mar 30, 2009 4:27 pm

The links are not "direct" links to a file.

I don't believe FlashGot parses these "links" in any way.
So in that respect, neither FlashGot Selection nor FlashGot All will work.

Once the link is passed to your download manager, it may parse the link correctly, downloading the file that you want.
(That is the case with Net Transport <downloader> at least.)

Web page link:

Code: Select all

http://202.155.2.90/_dl.asp?cmd=dl&id=8&TODIR=&CURDIR=/market_summary/daily/Market_Indices/IX2008/IX080102.txt


Actual file location:

Code: Select all

http://202.155.2.90/market_summary/daily/Market_Indices/IX2008/IX080102.txt


Knowing that actual file location you could use FlashGot's Build Gallery to generate a list of URLs (some that will end up being valid, others not) that would likely meet your needs.

Something like this:

Code: Select all

http://202.155.2.90/market_summary/daily/Market_Indices/IX2008/IX08[01-12][01-31].txt


Alright, I screwed up with what I said above ...

(I had had FlashGot | Options -> Downloads set to only find a single File Extensions, so that is why FlashGot All/Selection was not finding anything. And now that I've set that straight ...)

You can either FlashGot Link or Selection or All, all of which should work.
Again, FlashGot does not parse any links (in this case), it simply passes them on to your download manager.
Your download manager should be able to parse them, finding the actual URL to download.
Again, Net Transport will do that for me, downloading & naming the files as expected.
At that point, it is nothing more then to sit & wait for them to all come down.

What download manager are you using?

OK, so you're using (Browser Built-in). Use an external Download Managers instead.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22pre) Gecko/20090327 SeaMonkey/1.1.16pre

Kristian

Re: File names come out wrong

Post by Kristian » Mon Mar 30, 2009 4:37 pm

I'm using Firefox's FlashGot add-on (on WinXP) - both FF and FlashGot updated to the latest version.

So the download manages is Firefox's normal one. And it manages to download the files OK; it is just the file names that are screwed up.

However I really need the names correct because they are going to be automatically processed later - the files are worthless to me with incorrect names. :(
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

User avatar
therube
Ambassador
Posts: 7528
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: File names come out wrong

Post by therube » Mon Mar 30, 2009 4:49 pm

OK, so you're using (Browser Built-in). Use an external Download Managers instead.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22pre) Gecko/20090327 SeaMonkey/1.1.16pre

Kristian

Re: File names come out wrong

Post by Kristian » Mon Mar 30, 2009 6:50 pm

OK, I installed Free Download Manager and that did the trick.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

User avatar
therube
Ambassador
Posts: 7528
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: File names come out wrong

Post by therube » Mon Mar 30, 2009 7:06 pm

:-).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22pre) Gecko/20090327 SeaMonkey/1.1.16pre

Post Reply