#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Posts
    288
    Rep Power
    12

    cffile append not working when called via cfhttp


    I have a file which should write a html log file every time it is run.

    If I run it directly (via url entry) it writes to the file. If however I run a script to call the file via a <cfhttp> (which is the way I want to do it) it doesn't write to the file.

    Any ideas why?

    -D
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,286
    Rep Power
    968
    I'd say it must be something in the code or in the application, because CFHTTP acts exactly like a user making the request from a browser. Can you confirm that the *exact same* URL called via your browser is being used by the CFHTTP call?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Posts
    288
    Rep Power
    12
    It was all calling it the same, however I haven't changed anything (that I know of) that will affect it, but it now works... how odd.

    -D

IMN logo majestic logo threadwatch logo seochat tools logo