Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ashameer

macrumors newbie
Original poster
Sep 24, 2009
25
0
Hey all,

I want to access an online catalogue on my iPad, as the catalogue is using flash to display in the net, I can´t, but individual pages can be loaded as pdf. As it has somewhat over 1500 pages I don´t want to click every page on my mac and save it. I found that all the pdfs are residing in one folder on the server, sadly the folder can´t be accessed directly, only the individual files.

http://tpk6.aurednik.de/2012/pdf/pagina.00001.pdf

this path leads to page 1 off the catalogue, pagina.00002.pdf is page 2 and so on. So basicly what I need is a workflow, software, script that starts with page 1, than adds 1 to the filename saves it and so on. Sadly I wasn´t able to find a way in Automator to get this working. As i`m an absolute Noob regarding Apple Script and programming in general, I hope some of the fine people here can help.

Thanks!
Mark
 

numero

macrumors regular
Jul 23, 2002
106
3
OR
Open the terminal and type the following:
Code:
mkdir pdfs
cd pdfs
curl http://tpk6.aurednik.de/2012/pdf/pagina.0[0001-1500].pdf -o pagina.0#1.pdf

When it finishes you will have all of the files from the server. Not an AppleScript, but it doesn't look like anything that needs to be done on a daily basis.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.