Issue with CF FTP

Discussion in 'Programming' started by RedDem0n, Jan 20, 2009.

  1. #1
    We have google base and a scheduled task in cf admin to output new entries posted on our site to a specific txt file. What a google simply does every night at a certain time is fetch this text file so it can update its database with the entries we updated the text files. It seems that every 2 weeks usually over the weekend we get a error report from CF with this message:

    
    An exception occurred when performing the FTP putfile operation. The cause
    of this exception was that: 553 jobs.txt: Permission denied on server. (Overwrite)
    
    Code (markup):
    Would anyone know why this happens? The weird thing is it works fine throughout the whole week.
     
    RedDem0n, Jan 20, 2009 IP
  2. Paul_K

    Paul_K Greenhorn

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    Perhaps at that exact time the file on the FTP server is being written to causing a file lock?
     
    Paul_K, Jan 20, 2009 IP
  3. RedDem0n

    RedDem0n Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why on a certain day rather then everytime? It's set to be the same schedule everyday. This just started recently. This has been going on for a few months now, and no one has made any modifications.
     
    RedDem0n, Jan 20, 2009 IP
  4. Paul_K

    Paul_K Greenhorn

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #4
    I don't understand correctly. You say that google FTP's the file or you do? You error message seams to imply that you are FTPing a file to a location? Then from that location google scan it?
     
    Paul_K, Jan 20, 2009 IP
  5. RedDem0n

    RedDem0n Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Basically what happens is theres a scheduled task for a cfm file which outputs the data on a txt file on the local server.

    Then that file gets sent over to the google ftp through cfftp.

    Then google just simply fetches that text file from its own ftp and uploads it to googlebase.
     
    RedDem0n, Jan 21, 2009 IP
  6. Paul_K

    Paul_K Greenhorn

    Messages:
    85
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #6
    Then perhaps at exactly that moment google is reading and has locked the file?
     
    Paul_K, Jan 23, 2009 IP
  7. RedDem0n

    RedDem0n Peon

    Messages:
    67
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Any idea why? It's the strangest thing, like this weekend it didn't happen.
     
    RedDem0n, Jan 26, 2009 IP