Jump to content

get all files with .ext


Recommended Posts

hi i'm trying to make a downloader using the inet downloader script and example - 15 minute timed downloader

i can make these download the files if i input the full url incl. the extension

now i want it to grab all files from that webpage with only the extension known

i'm using this script:

CODE
#cs ----------------------------------------------------------------------------

AutoIt Version: 3.2.13.3 (beta)

Author: Partypooper & Partial code gseller

Script Function:

Format for the UDF is as follows:

#include <INetDownloader.au3>

Func _INetDownloader( Web Site, Remote Filename [, Local Filename [, Download Directory [, AutoOverwrite]]] )

#ce ----------------------------------------------------------------------------

#include <INetDownloader.au3>

Global $s_MyWebSite = "http://peppy.chigau.com/bss/"; authors web address

Sleep (900000) ; 15 minute timer 1=60000, 2=120000 ,3=180000 ,5=300000 ,10=600000 ,15=900000 ,20=1200000

Call ('OnDownloadFile')

;OnDownloadFile()

Func OnDownloadFile()

_INetDownloader($s_MyWebSite, "", -1, @ScriptDir)

EndFunc;==>OnDownloadFile

can someone help me???

maybe something like InetgetFileExt = mp3

i really appreciate it

xerious

Link to comment
Share on other sites

The only I know of to get a directory of unknown filenames is with wget:

http://www.gnu.org/software/wget/manual/wget.html

You can set it to recursively get all files matching a filter.

can't use this really don't know how to integrate

but i managed to find a diff. way using the rslink script

i changed some urls and made my down.manager read the txt file to get all the files i wanted it to grab

all i now need to do is to make a batch to add the rslink txt file automatically in the down.manager

but that should be no problem

thanks for the help anyway

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...