Skip to main content
July 2, 2008
Answered

download file

  • July 2, 2008
  • 4 replies
  • 461 views
Good day all...

Im trying to create an update facility for an application i am writing...
What i need the server to do is download a file from a remote server...

For example.... http://www.mydomain.com/update1.zip

The file must then be dowloaded to the server.. From there i can do all the nesissary ajustments...

Could someone put me in the right direction please..

Regards
    This topic has been closed for replies.
    Correct answer Kronin555
    <cfhttp url=" http://www.mydomain.com/update1.zip" path="/my/folder/to/save/to/"/>

    That will save update1.zip to /my/folder/to/save/to/ on the server.

    4 replies

    July 2, 2008
    Thanks very much.. Thast was a great help there...
    Didnt realize it was as simple as that.. enjoy your day
    Kronin555Correct answer
    Participating Frequently
    July 2, 2008
    <cfhttp url=" http://www.mydomain.com/update1.zip" path="/my/folder/to/save/to/"/>

    That will save update1.zip to /my/folder/to/save/to/ on the server.
    Participating Frequently
    July 2, 2008
    <cfhttp...>
    July 2, 2008
    OK.. perhaps i need a bit more help...

    I looked at cfhttp...
    can you give me the syntax for downloading the file to the server.. i cant seem to get it to work...

    Thanks
    Inspiring
    July 2, 2008
    cfftp