Wątek: Rozwiązany Jak zaciągać całe foldery z index of?
Wróć do listy wątków1 z 1
1 z 7: DJGraco
Witajcie,
Czy da się przez przeglądarkę pobrać cały folder z ftp np
http://onj3.andrelouis.com/phonetones/unzipped/Nokia/E72
A jeżeli nie to jakie programy do tego?
21.08.2019 17:34
2 z 7: Paulinux
To nie jest FTP, tylko index of. Adres FTP to na przykład:
ftp://atarist.xs4all.nl/
Powiedz w takim razie, czy chodzi Ci o index of, czy o ftp.
FTP z powodzeniem ściągniesz poprzez klasyczne zaznaczanie Filezillą, WinSCP, czy nawet samym eksploratorem Windows.
Odpaliłam mikrobloga o sztucznej inteligencji na Telegramie! zapraszam na t.me/sztucznieinteligentna
21.08.2019 17:41
3 z 7: DJGraco
Aa to o index of mi chodzi
21.08.2019 17:41
4 z 7: daszekmdn
Też kiedyś szukałem i chyba nie ma takiej możliwości.
23.08.2019 05:50
5 z 7: monstricek
Można próbować czymś typu DownloadMastera czy innego menedżera pobierań, ale wątpie, że to zadziała.
23.08.2019 06:35
6 z 7: tomecki
Nie próbowałem, ale jeden taki z wielkiej brytwanny zrobił na kolanie takie coś http://3.onj.me/programs/Wget_Downloader.zip
Readme brzmi tak:
This is a very simple downloader thrown together by Andre Louis (@FreakyFwoof) that uses wget to retrieve files from a given url in a text or htm file. Run download.bat to start it. Be sure to familiarise yourself with the process before using.
I cannot guarantee success, but I hope it works for you.
--------------------
Contents:
1. url.txt
2. url.htm
3. About the download.bat file
--------------------
1. url.txt
To change where wget downloads from, edit url.txt with the desired url. Downloads will go into the downloads folder.
Note: You *must* use the trailing slash at the end of urls if you want it to download correctly. See the below example.
Example:
http://www.andrelouis.com/media
will not work as desired.
http://www.andrelouis.com/media/
will work as desired.
--------------------
2. url.htm
A new addition to this downloader is trawling a file called url.htm for links and saving to the downloads folder. Simply visit the web page you're curious about, save the page using your browser of choice, and call the file 'url.htm' without the quotes.
Once saved, drop url.htm into the same place this downloadre resides, and run download.bat as above.
Note: If url.txt also lives here at the same time, url.txt and url.htm will both be processed. If you don't want this to occur, delete one or the other, or just leave url.txt empty, or with a spurious line of text. It will be ignored by the downloader during processing.
--------------------
3. About the download.bat file
The download.bat file is very simplistic and I'm sure could be better. However, it serves the purpose for which it was intended, and serves as the interface to wget.exe.
Let us break down each line and it's function:
@echo off
Stops the output commands below being shown on-screen.
md downloads
Creates a 'downloads' folder in the current directory.
cd downloads
Navigates into the 'downloads' directory created above.
..\wget -c --no-check-certificate -r -L -np -i ..\url.txt
..\wget -c --no-check-certificate -L -np -F -i ..\url.htm
The two lines above process their respective files. In the first case, url.txt, and in the second case, url.htm. Below is the syntax I used when creating the downloader.
-c, --continue resume getting a partially-downloaded file.
--no-check-certificate don't validate the server's certificate.
-r, --recursive specify recursive download.
-L, --relative follow relative links only.
-np, --no-parent don't ascend to the parent directory.
For the url.htm line only: -F, --force-html treat input file as HTML.
-i, --input-file=FILE download URLs found in FILE.
call ..\TidyUp.bat
This calls a bat file used for cleaning usually unwanted files from your downloads directory.
If you think that the downloader is removing files you want to keep, put the word 'rem' without quotes in front of the last line of the bat file, so these files don't get removed.
It would now look like this:
rem call ..\TidyUp.bat
To see what tidyup.bat does, open it in an editor (usually by right-clicking and choosing edit) and take a look at the files it deletes. You can add or remove other file-types I may have missed by using the syntax listed.
If you find yourself adding other file-types, please let me know so I may update this downloader. It would be very helpful.
Thank you, and enjoy.
Last updated: 11:58 05/09/2018
23.08.2019 13:54
7 z 7: DJGraco
Tomecki dzięki działa.
23.08.2019 14:51