• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

run a script to download a file

Guest
Dec 05, 2006 Dec 05, 2006

Copy link to clipboard

Copied

there is this web page that has audio files for download, instead of sitting there and downloading each file i wanted to run a script to do it for me, now i know how to get text and links by using cfhttp but i need to figure out how to actually get the script to download the files for me, does anyone know how i can do this? i appreciate any help, thanks.
TOPICS
Advanced techniques

Views

445

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Dec 05, 2006 Dec 05, 2006

Copy link to clipboard

Copied

Do a search of this forum for cfcontent.

Ken

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 05, 2006 Dec 05, 2006

Copy link to clipboard

Copied

okay, i will look into it...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 05, 2006 Dec 05, 2006

Copy link to clipboard

Copied

i cant seem to get the cfcontent to work, how will one use this code to have it download the audio file?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Dec 05, 2006 Dec 05, 2006

Copy link to clipboard

Copied

LATEST
Actually, "ya doan nee no stinkin cfcontent".

Try:

<CFHTTP
url="Some_Audio.mp3"
method="GET"
getasbinary="yes"
file="Uh_SHARED_Audio.mp3"
path="c:\temp"
/>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 05, 2006 Dec 05, 2006

Copy link to clipboard

Copied

google cfheader cfcontent

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation