Files transferred via FTP are not overwriting...

Discussion in 'Site & Server Administration' started by NewComputer, Apr 19, 2005.

  1. #1
    I am having some troubles uploading via FTP. I have tried three FTP clients with the same results. When I upload via FTP, and it asks me to overwrite and I choose yes, the files are not overwriting. I can upload a file, choose yes and when it is done if I try to upload the same file again, the file sizes are different. I have tried binary, ascii and auto. When I view the file on the server I can see it has old code that I am trying to overwrite.

    Any ideas?
     
    NewComputer, Apr 19, 2005 IP
  2. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Don't know but maybe try deleting the files from the server first, then upload afresh as a work around.
     
    sji2671, Apr 19, 2005 IP
  3. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #3
    Tried that, still same results....
     
    NewComputer, Apr 19, 2005 IP
  4. AfterHim.com

    AfterHim.com Peon

    Messages:
    1,923
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try deleting them from CPanel if you have it.

    Have you viewed the new files through a browser (if html/php/etc)?
     
    AfterHim.com, Apr 19, 2005 IP
  5. mushroom

    mushroom Peon

    Messages:
    369
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If the files where writen by php, php may be the owner of the file and you as a user have no right to change or delete it.

    Check the properties of the file to see who the owner is
     
    mushroom, Apr 19, 2005 IP
  6. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #6
    Cpanel file manager will delete files with permissions set by php that you cannot delete via FTP.

    Whatever code is writing those files needs to be updated so you can manage the files via FTP if that is what you desire. This is assuming we are correct in saying php owns the files.
     
    noppid, Apr 19, 2005 IP
  7. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #7
    This reminds me of some files I couldn't change because I didn't have permission to do that. I changed them to 777 with ftp... nothing. I changed them to 777 with cpanel... still nothing.
    Had to give up and leave like they were.
     
    fryman, Apr 19, 2005 IP
  8. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #8
    I wouldn't sleep knowing I couldn't get control of a file!
     
    noppid, Apr 19, 2005 IP
  9. sadcox66

    sadcox66 Spirit Walker

    Messages:
    496
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Are you the "owner" of those files ?
    If you have multiple FTP logins to the same account orsubdomain.
    You may have uploaded them with one FTP login and are trying to delete them with another.
     
    sadcox66, Apr 20, 2005 IP