LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-18-2007, 07:21 AM   #1
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Rep: Reputation: 15
[wget] Crawl through directory structure, get only certain files


Hi there,
no matter how often I comb through the wget manpage, I never get it to do what I want, except for downloading single files or mirroring small static HTML Websites... :-(

(FYI: I'd like to hack together a little script to sync this very cool Amiga MOD web archive with my very old local copy, without having to download it complety. As far as I see, the site only stores compressed .lha files)

This is the problem I'm stuck for now:

How do I download every *.txt file below http://exotica.org.uk/tunes/archive

Here's what I just tried:

There is a "sitemap" available at http://exotica.org.uk/tunes/tunesindex.html which lists URLs to the LHA archives and URLS to .txt files which include the content of the LHAs. (this is what I'm after..)

So, I downloaded this file in the script to use it as an input file for wget -i (alas, it is not possible to use an URL directly for input, or is it?)

Now the script is supposed to do this
Code:
wget --base=http://exotica.org.uk/tunes/ -i tunesindex.html --force-html -A.txt -R.lha
But it downloads the LHAs anyway!

...Help?

~fab
 
Old 01-18-2007, 08:17 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Instead of wget, I suggest you try using httrack. It's much easier to set up filters to download only the files you want with it.
 
Old 01-19-2007, 12:06 PM   #3
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Original Poster
Rep: Reputation: 15
Ok, thanks!
I didn't get this to work at the first try either, but I'll look into it further. Looks pretty powerful and flexible.

cheers
~fab
 
Old 05-19-2019, 02:34 AM   #4
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Rep: Reputation: 17
I was trying to use wget to achieve the same recently, but the site layout has changed. So far, i've been unable to figure out to do this. tunesindex.html no longer exists.

Code:
$ wget --base=https://www.exotica.org.uk/wiki/UnExoticA/Games_By_Format/Sidmon/ -i tunesindex.html --force-html -A.txt -R.lha
tunesindex.html: No such file or directory
No URLs found in tunesindex.html.
Also, for reference, what are the equivalent httrack options, this is not so easy to use as the .lha files are referenced within webpages which are referred from the respective links :

For example, this will not work :

Code:
httrack https://www.exotica.org.uk/wiki/Peter_Thierolf +*.lha

Last edited by dazdaz; 05-19-2019 at 03:12 AM.
 
Old 05-19-2019, 09:40 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i sometimes use wget to do this. it has worked for me for that site, but other sites might block such crawling attempts.
 
Old 05-19-2019, 10:56 AM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Excuse me for being stupid, but what are you looking for on
https://www.exotica.org.uk/wiki/Peter_Thierolf

I can show you all of the requests that the page made if That helps

Code:
https://www.exotica.org.uk/wiki/Peter_Thierolf

https://www.exotica.org.uk/mediawiki/load.php?debug=false&lang=en-gb&modules=ext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.legacy.commonPrint%2Cshared%7Cmediawiki.sectionAnchor%7Cmediawiki.skinning.content.externallinks%7Cmediawiki.skinning.interface%7Cskins.exotica.styles&only=styles&skin=exotica

https://www.exotica.org.uk/mediawiki/load.php?debug=false&lang=en-gb&modules=startup&only=scripts&skin=exotica

https://www.exotica.org.uk/mediawiki/load.php?debug=false&lang=en-gb&modules=site.styles&only=styles&skin=exotica

https://www.exotica.org.uk/mediawiki/skins/ExoticA/assets/screengadgets.png

https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js

https://www.exotica.org.uk/mediawiki/skins/ExoticA/assets/themes/chaos_engine/logo.png

https://www.exotica.org.uk/mediawiki/files/thumb/5/51/BlankComposer.jpg/250px-BlankComposer.jpg

https://i.creativecommons.org/l/by-sa/3.0/88x31.png

https://www.exotica.org.uk/mediawiki/resources/assets/poweredby_mediawiki_88x31.png

https://licensebuttons.net/l/by-sa/3.0/88x31.png

https://www.exotica.org.uk/mediawiki/skins/ExoticA/assets/pointer.cur?b5176

https://www.exotica.org.uk/mediawiki/skins/ExoticA/assets/windowtop.png?e57eb

https://www.exotica.org.uk/mediawiki/skins/ExoticA/assets/themes/chaos_engine/montage_1.png

https://www.exotica.org.uk/mediawiki/skins/ExoticA/assets/themes/chaos_engine/trans.png

https://www.exotica.org.uk/mediawiki/load.php?debug=false&lang=en-gb&modules=jquery%2Cmediawiki&only=scripts&skin=exotica&version=09ot0v2

https://www.exotica.org.uk/mediawiki/load.php?debug=false&lang=en-gb&modules=ext.visualEditor.desktopArticleTarget.init%7Cext.visualEditor.supportCheck%2CtargetLoader%2Ctrack%2Cve%7Cjquery.accessKeyLabel%2CbyteLength%2CcheckboxShiftClick%2Cclient%2Ccookie%2CgetAttrs%2ChighlightText%2Cmw-jump%2Csuggestions%2Ctablesorter%2CtextSelection%7Cmediawiki.RegExp%2CTitle%2CUri%2Capi%2Ccldr%2CjqueryMsg%2Clanguage%2Cnotification%2Cnotify%2CsearchSuggest%2Cstorage%2Ctemplate%2Cuser%2Cutil%7Cmediawiki.action.view.postEdit%7Cmediawiki.api.options%2Cuser%7Cmediawiki.language.data%2Cinit%2Cmonths%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.template.regexp%7Csite%7Cuser.defaults&skin=exotica&version=0ltsgpk

https://www.exotica.org.uk/favicon.ico
Are you wanting to follow the links on that page?
https://www.exotica.org.uk/wiki/Fata...ound_the_world
----http://files.exotica.org.uk/?file=ex...l_Heritage.lha
--------ftp://malus.exotica.org.uk/pub/exoti...l_Heritage.lha

I opened ftp://malus.exotica.org.uk/pub/ in a ftp client.
There are scores of mp3 files etc. in
/pub/bitfellas/podcast
/pub/bitfellas/shows
/pub/bitfellas/torrents

Is that what you want?

Open up ftp://malus.exotica.org.uk/pub/ in an ftp client and look at the tree.
 
Old 05-19-2019, 06:21 PM   #7
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Rep: Reputation: 17
That ftp site is password protected when you get to the exotica files.

I want to download the *.lha files from each respective artist, there are many which is why i'm not doing this manually.

As an example, when you goto the root:
https://www.exotica.org.uk/wiki/Peter_Thierolf

There are referral links to 3 pages.
https://www.exotica.org.uk/wiki/Fata...ound_the_world
https://www.exotica.org.uk/wiki/Ooops_Up
https://www.exotica.org.uk/wiki/The_Power

When you goto the first link :
https://www.exotica.org.uk/wiki/Fata...ound_the_world

There is a URL to the lha file.
http://files.exotica.org.uk/?file=ex...l_Heritage.lha
 
Old 05-20-2019, 06:20 AM   #8
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
I think that they are there. ( Had to shorten list to make fit post)

Code:
/pub/exotica/media/audio/UnExoticA/Game
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Abromont_Claude
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Allardice_Simon
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Allsopp_Phil
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Almered_Per
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Anderton_Mike
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Appel_Sven
drwxrwsr-x      ftp      ftp        4096 May 02  2016 Assenmacher_G
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Ast_Didier
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Augenblick
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Avery_John
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Baillot_Michel_Jean
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bak_Phil
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Baker_Keith
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Balderstone_Rob
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Barker_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Barnabas_Andrew
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Barrett_Steve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bartlett_Tim
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Barzagli_Fabio
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bates_Matt
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Baudlot_Jean
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bauer_Sven
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Beben_Wally
drwxrwsr-x      ftp      ftp        4096 May 02  2016 Bech_Jorgen
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Becker_Oliver
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bedord_Russ
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bendyk_Piotr
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Berglund_Ken
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Berry_Simon
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Berthaud_Mathieu
drwxrwsr-x      ftp      ftp        4096 May 02  2016 Bescond_Andre
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Betrayer
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bialas_Michael
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bialluch_Dirk
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Biasillo_Gary
drwxrwsr-x      ftp      ftp        4096 Jan 06  2013 Biggin_Neil
drwxrwsr-x      ftp      ftp        4096 Apr 17  2016 Bjerregaard_Johannes
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bjoerklund_Christian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bjon_Dan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Blaha_Christian
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Blanchet_Bruno
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bleasdale_Ste
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Blenkinsopp_Steve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Boari_Doug
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bogni_Roberto
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bonvicini_Daniele
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bostock_Simon
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Botteri_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bouquerel_Frederic
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Boursot_Jean-Marc
drwxrwsr-x      ftp      ftp        4096 Jan 06  2013 Braumuller_Ramon
drwxrwsr-x      ftp      ftp       12288 Mar 22  2014 Brimble_Allister
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Brooke_Jason
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Broomhall_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Brown_Mike
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Bruce_Kev
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Burke_Danny
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Burrows_Robin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Busetta_Davide
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Busse_Jens
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cain_Steven
drwxrwsr-x      ftp      ftp        4096 May 02  2016 Callet_Charles
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cangini_E
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cannon_Matthew
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Canon_Hal
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cappiello_Tiziano
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Caprelli_Marco
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Carehag_John
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Chanter_Ben
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Charter_Jean-Christophe
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Chilton_Mike
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Christensen_Kim
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cicciarello_Fabio
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Clarke_Mike
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Clarke_Phil
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Collet_Steve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Collier_Kevin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Colohan_Paddy
drwxrwsr-x      ftp      ftp        4096 Apr 04  2015 Composers
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Connolly_Sean
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Conran_Sean
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cooksey_Mark
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cornelius_Orall
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Couturier_Michael
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Creative_Thought
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cross_Saul
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Croudy_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Crowther_Anthony
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Crowther_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cummings_Adrian
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Cuomo_Jim
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Cusick_David
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Da_Silva_Alain
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Daglish_Ben
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Dahl_Brad
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Dahlgren_Tomas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Dale_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Danko_Tomas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Davies_Howie
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Davies_Mike
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Davis_Michael
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Davis_Will
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 de_Agger_Martin
drwxrwsr-x      ftp      ftp        4096 Apr 17  2016 Deenen_Charles
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Degwitz_Axel
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Demsky_Martin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Denman_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Digital_Masters
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 DJ_Braincrack
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Dragon_George
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Drake_Andrew
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Dunn_Jonathan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Earl_Kevin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Ede_Richard
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Eeben_Aleksi
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Eide_Oisten
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Ekian_Alexandre
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Eldridge
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Elliot_James
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Enfors_Christer
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Engels_Timm
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Esser_Andreas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Evans_Dean
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Evans_Grant
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Everett_Graham
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Evrard_Pascal
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Fasoulas_Stavros
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Fassbender_Torsten
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Feldkoetter_Jochen
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Felice_Christopher
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Fernandes_David
drwxrwsr-x      ftp      ftp        4096 Jan 06  2013 Fevre_Christophe
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Fitzgerald_Kirk
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Fladen_Edvin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Follin_Tim
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Ford_Ian
drwxrwsr-x      ftp      ftp        4096 Apr 04  2015 Fothergill_Adam
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Francis_Tony
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Franck_Hans-Hermann
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Francois_Marc
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Fredriksson_Jimmy
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Freeman_Jon
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Freitas_Jean-Francois
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Fridh_Mattias
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Fruergaard_Christian
drwxrwsr-x      ftp      ftp        4096 May 07  2016 Fulton_Douglas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Furniss_Matt
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gaiba_Gian_Luca
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gaiswinkler_Alexander
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Galimberti_Paolo
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gausen_Tor
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gaze_Paul
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gehrmann_Holger
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gellrich_Torsten
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gerlach_Sven
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gesqua_Raphael
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Gestel_Dimmen
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gibbons_Dave
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gieseke_Eric
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gilbertson_Gary
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gilmore_Adam
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Glaister_Chris
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Godai_Hibiki
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Goldstein_William
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Goodley_Ross
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Gorlin_Dan
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Gornall_Mark
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gourley_Gerard
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Graefe_Holger
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Gray_Fred
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gray_Graham
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Green_Steven
drwxrwsr-x      ftp      ftp        4096 Jan 06  2013 Grigg_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Grignon_Jean-Marc
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Gustafsson_Olof
drwxrwsr-x      ftp      ftp        4096 May 07  2016 Habich_Michael
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Haggard_Gregory
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Hahn_Frederic
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Halberg_Martin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hales_Steve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hanlon_David
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Hanney_David
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hansch_Ingmar
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hardie_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hart_Stephen
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hasler_Dave
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hasler_Steve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hatlelid_Kris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Haupt_Christian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hautecloque_Fabrice
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hawlitzeck_Marc
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Haywood_Tim
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Helbock_Clemens
drwxrwsr-x      ftp      ftp        4096 Apr 24  2016 Hellman_Clay
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Henderson_Ozzie
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hendrix_Tod
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Hensel_William
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hermann_Thomas
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Hewitt_Doug
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hicks_Anthony
drwxrwsr-x      ftp      ftp        4096 Sep 14  2016 Hippel_Jochen
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hirsch_Tobias
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hisham_Mahir
drwxrwsr-x      ftp      ftp        4096 Oct 18  2013 Hoekman_Rick
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hoermann_Ralf
drwxrwsr-x      ftp      ftp        4096 Apr 20  2016 Hogg_Ashley
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Holland_Kevin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Holt_Hein
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Hommel_Andreas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Howard_Don
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Howarth_Brian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Howe_Ian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hubbard_Rob
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Huelsbeck_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Hugentobler_Ruedi
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Ithell_Darren
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Iula_Gerardo
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Iveson_Martin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Jackman_Henry
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Jandrain_Jean-Pierre
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Jespersen_Philip
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Jeworowski_Stefan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Johnson_Peter
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Johnston_Brian
drwxrwsr-x      ftp      ftp        4096 Apr 24  2016 Joiner_David
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Jolly_Ian
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Jones_Nick
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Jones_Richard
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Joseph_Richard
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Junge_Andreas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Kaminski_Artur
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Kane_Matthew
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Kawamoto_Tamayo
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Keding_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Kelly_Dave
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Kirkeby_Allan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Klaren_Ron
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Klepacki_Frank
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Kludzuweit_Markus
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Knight_Gary
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Knight_Mark
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Koehler_Bernhard
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Korte_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Kreiner_Tamas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Kuhn_Harald
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Kyd_Jesper
drwxrwsr-x      ftp      ftp        4096 May 07  2016 Lagace_Ken
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Lambin_Alain
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Larsen_Halfdan
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Larsen_Sten
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Latarski_Dan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Lautensack_Frank
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Law_Jon
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Lecter
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 LeFay_Julian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Leinonen_Janne
drwxrwsr-x      ftp      ftp        4096 Mar 09  2014 Leitch_Barry
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Leport_Herve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Lindstrom_Bob
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Link_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Linzner_Manfred
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Llewellyn_Dave
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Lopatic_Thomas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Loraine_Paul
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Loriaux_Pierre-Eric
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Lowe_Al
drwxrwsr-x      ftp      ftp        4096 Apr 24  2016 Lowe_Dave
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Lowe_Margaret
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Lucas_Adam
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Lukas_Karl
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Lynne_Bjorn
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mackey_Al
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mad_Phantom
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Magerkord_Dirk
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mann_Robert
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Marshall_Brian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Martin_Jose
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Martins_Julio
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Maule_Chris
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mauro_Daniel
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 MC_Slack
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 McCrory_Adam
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 McGinty_Andi
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 McMaster_Paul
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 McMullan_and_Low
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Medek_Jon
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Media_Sorcery
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mege_Roderic
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Melcher_Helmut
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Melzener_Axel
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mentzen_Frederic
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Milas_Anthony
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Miller_Marcus
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Millidge_Reece
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Mindach_Olaf
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Molloy_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Monteiro_Ruben
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Morgan_Steve
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Motte_Frederic
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Mrsic-Flogel_Janko
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Murry_Barry
.....<snip>...........
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 The_Source
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Thierolf_Peter
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tibben_Marco
drwxrwsr-x      ftp      ftp        4096 Jan 06  2013 Tinman_Keith
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Tobey_Raymond
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tognazzi_Silvio
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tomic_Nikola
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tomic_Vlado
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tomljanovich_Nicola
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Toni_Lorenzo
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Topalovic_Jasmin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tramis_Rene_Guy
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Trevoan_Cyril
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tripp_Volker
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tschoegl_Michael
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tummers_Laurens
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Tummon_John
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Turner_Russ
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Turner_Steve
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Tykesson_Martin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Ude_Klaus
drwxrwsr-x      ftp      ftp       12288 May 07  2016 Unknown
drwxrwsr-x      ftp      ftp       12288 Jul 30  2018 Updates
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Usher_Raymond
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 van_de_Veen_Richard
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 van_den_Heuvel_Steven
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 van_der_Valk_Paul
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 van_Steen_Marco
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 van_Vliet_Reinier
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Veal_James
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Vegh_Zoltan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Vela_Filippo
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Veriere_Philippe
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Vidos_Jean-Pierre
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Vincent_Nick
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Visserot_Fabrice
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Voes_Romain
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Volker_Thomas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Vuori_Risto
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Wagner_Oliver
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wakeman_Rick
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Walker_Martin
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Walterstad_Magnus
drwxrwsr-x      ftp      ftp        4096 May 02  2016 Warhol_Dave
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Waterhouse_Adrian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Webber_Christian
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Weichselbaum_Markus
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Weirich_Oliver
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wells_Rob
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wenzler_Stephan
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Werner_Roman
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wetherill_Steve
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Wheaton_G
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Whitaker_Don
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 White_Craig
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Whitely_Jason
drwxrwsr-x      ftp      ftp       12288 Sep 14  2016 Whittaker_David
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Whyte_Andy
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wiktor_Tomasz
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Wilkons_George
drwxrwsr-x      ftp      ftp        4096 Jan 02  2014 Wille_Gerrit
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Williams_Bill
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Williams_Glyn
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Williams_Scott
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Williams_Tony
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Wilson_Mark
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wilson_Nick
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Winterberg_Michael
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wood_Darren
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Wood_Winston
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Wright_Matt
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wright_Tim
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Wuethrich_Andre
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Yamane_Kazunaka
drwxrwsr-x      ftp      ftp        4096 May 08  2009 Yapp_David
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Zendeh_Darius
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Zicchi_Giulio
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Zielen_Frank
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Zighem_Thomas
drwxrwsr-x      ftp      ftp        4096 Dec 05  2012 Zuppicich_Blair
Code:
/pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter
drwx------                             0 Dec 31  1969 ..
-rw-rw-r--      ftp      ftp          30 May 08  2009 composer.txt
-rw-rw-r--      ftp      ftp      197219 Jan 14  2004 Fatal_Heritage.lha
-rw-rw-r--      ftp      ftp         263 May 08  2009 Fatal_Heritage.txt
-rw-rw-r--      ftp      ftp       91216 Feb 02  2003 Ooops_Up.lha
-rw-rw-r--      ftp      ftp         251 May 08  2009 Ooops_Up.txt
-rw-rw-r--      ftp      ftp       62995 Apr 23  2002 Power.lha
-rw-rw-r--      ftp      ftp         422 May 08  2009 Power.txt
Code:
file Fatal_Heritage.lha
Fatal_Heritage.lha:   LHa (2.x) archive data  [lh5], with "Fatal_Heritage\mdat.22"
Code:
7z l Fatal_Heritage.lha
...

Scanning the drive for archives:
1 file, 197219 bytes (193 KiB)

Listing archive: Fatal_Heritage.lha

--
Path = Fatal_Heritage.lha
Type = Lzh
Physical Size = 197219

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2004-01-14 21:09:34 .....         4420          770  Fatal_Heritage/mdat.22
2004-01-14 21:09:34 .....         4552          822  Fatal_Heritage/mdat.26
2004-01-14 21:09:34 .....         4424          734  Fatal_Heritage/mdat.53
2004-01-14 21:09:34 .....         4248          623  Fatal_Heritage/mdat.54
2004-01-14 21:09:34 .....         4372          726  Fatal_Heritage/mdat.59
2004-01-14 21:09:34 .....         4332          709  Fatal_Heritage/mdat.fly
2004-01-14 21:09:34 .....         4232          633  Fatal_Heritage/mdat.ship
2004-01-14 21:09:34 .....        89092        68212  Fatal_Heritage/smpl.title
2004-01-14 21:09:34 .....         4792          885  Fatal_Heritage/mdat.showdown
2004-01-14 21:09:34 .....         9620         2476  Fatal_Heritage/mdat.title
2004-01-14 21:09:34 .....        16388        14046  Fatal_Heritage/smpl.22
2004-01-14 21:09:34 .....        25092        22638  Fatal_Heritage/smpl.26
2004-01-14 21:09:34 .....        26628        21583  Fatal_Heritage/smpl.53
2004-01-14 21:09:34 .....        16388        10422  Fatal_Heritage/smpl.54
2004-01-14 21:09:34 .....        22020        12782  Fatal_Heritage/smpl.59
2004-01-14 21:09:34 .....        11780         9554  Fatal_Heritage/smpl.fly
2004-01-14 21:09:34 .....        11396         9164  Fatal_Heritage/smpl.ship
2004-01-14 21:09:34 .....        21508        18327  Fatal_Heritage/smpl.showdown
------------------- ----- ------------ ------------  ------------------------
2004-01-14 21:09:34             285284       195106  18 files

Last edited by teckk; 05-20-2019 at 06:21 AM.
 
1 members found this post helpful.
Old 05-20-2019, 07:27 AM   #9
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Here is a little python to list thosse. I'll let you do the rest.
Code:
#! /usr/bin/env python

from ftplib import FTP

f = FTP("malus.exotica.org.uk")
f.login()
f.cwd('/pub/exotica/media/audio/UnExoticA/Game')

data = []
f.dir(data.append)
f.quit()

for line in data:
    print (line)
 
1 members found this post helpful.
Old 05-21-2019, 10:19 AM   #10
dazdaz
Member
 
Registered: Aug 2003
Location: Europe
Distribution: RHEL, CentOS, Ubuntu
Posts: 333

Rep: Reputation: 17
The FTP site now works for me, thanks a lot guys!

For my own understanding, is it possible to download the lha files using httrack or wget ? I tried more variations but failed...
 
Old 05-21-2019, 11:34 AM   #11
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Quote:
For my own understanding, is it possible to download the lha files using httrack or wget
Never used httrack, or not that I can remember.
Code:
wget --spider ftp://malus.exotica.org.uk/pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter/Fatal_Heritage.lha
--2019-05-21 11:20:19--  ftp://malus.exotica.org.uk/pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter/Fatal_Heritage.lha
           => ‘Fatal_Heritage.lha’
Resolving malus.exotica.org.uk (malus.exotica.org.uk)... 93.93.129.80, 2a00:1098:0:80:1000:f:0:3
Connecting to malus.exotica.org.uk (malus.exotica.org.uk)|93.93.129.80|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter ... done.
==> SIZE Fatal_Heritage.lha ... 197219
==> PASV ... done.    --2019-05-21 11:20:20--  ftp://malus.exotica.org.uk/pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter/Fatal_Heritage.lha
           => ‘.listing’
==> CWD (1) /pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter ... done.
==> PASV ... done.    ==> LIST ... done.

.listing                  [ <=>                   ]     606  --.-KB/s    in 0s      

Removed ‘.listing’.

File ‘Fatal_Heritage.lha’ exists.
Code:
wget ftp://malus.exotica.org.uk/pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter/Fatal_Heritage.lha
--2019-05-21 11:23:09--  ftp://malus.exotica.org.uk/pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter/Fatal_Heritage.lha
           => ‘Fatal_Heritage.lha’
Resolving malus.exotica.org.uk (malus.exotica.org.uk)... 93.93.129.80, 2a00:1098:0:80:1000:f:0:3
Connecting to malus.exotica.org.uk (malus.exotica.org.uk)|93.93.129.80|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/exotica/media/audio/UnExoticA/Game/Thierolf_Peter ... done.
==> SIZE Fatal_Heritage.lha ... 197219
==> PASV ... done.    ==> RETR Fatal_Heritage.lha ... done.
Length: 197219 (193K) (unauthoritative)

Fatal_Heritage.lha    100%[======================>] 192.60K   538KB/s    in 0.4s    

2019-05-21 11:23:11 (538 KB/s) - ‘Fatal_Heritage.lha’ saved [197219]
Code:
urls=(
http://www.one.com
http://www.two.com
http://www.three.com
)

for i in "${urls[@]}"; do
    echo "wget "$i""
done
Ok, next post should be you telling us how you made a list of urls that you want from that ftp site public tree, saved the results to variable or text file, looped through them and got what you want. I advise you to sleep 30 seconds between requests.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] rm files only - retain directory structure schneidz Programming 15 05-30-2013 04:08 PM
How to copy an entire directory structure except certain files? thanhvn Programming 9 01-27-2012 11:41 AM
how to recursively delete *.xtension files from a directory structure kpachopoulos Linux - General 6 08-24-2008 08:53 AM
HELP! installing 9.0 from HD, what files do i transfer in what directory structure? diabolik808 Red Hat 1 01-30-2005 03:47 PM
Program files and directory structure Carel Linux - Newbie 5 04-11-2001 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration