Re: download a PDF file
Re: download a PDF file
- Subject: Re: download a PDF file
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 31 Jan 2009 16:02:01 -0500
> This script downoad the stream but the saved file is wrong.
> It seems that it's because it uses $0D as line breaks when the file must
> contain $0D + $0A
What if you have curl write the file directly instead of going through AS?
set fname to t1 & "09_" & t2 & ".pdf"
set u to "http://manuals.info.apple.com/" & l & "/" & fname
do shell script ("curl -o " & quoted form of (posix path of
p2d & "/" & fname) & " " & quoted form of u)
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden