undeletable file in my server..

Discussion in 'Site & Server Administration' started by Koala, Apr 14, 2010.

  1. #1
    I have uploaded wordpress files in to my root folder.. but I didn't install it. I wanted to install it in to a sub domain.. So I deleted all files in root folder..

    then this file can not delete - .pureftpd-upload.4bc48229.15.78be.7813b4fd
    it is in wp-admin/images/

    how can I delete it.. file permission is 644 and can not change it either..

    can anyone help me please..
    thank you.
     
    Koala, Apr 14, 2010 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    well do u have root access to ur server ??
     
    Bohra, Apr 14, 2010 IP
  3. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #3
    if its a shared hosting then you ask your hosting provider to delete it

    otherwise go to cpanel and open file manager

    go to the directory and try to delete after selecting file

    Regards

    Alex
     
    kmap, Apr 14, 2010 IP
  4. Koala

    Koala Well-Known Member

    Messages:
    1,831
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    185
    Digital Goods:
    5
    Articles:
    4
    #4
    yes.
    I tried using online file manager.. it show an error.. can not delete..
     
    Koala, Apr 14, 2010 IP
  5. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #5
    ask your hosting provider

    it is created when u upload some files and stop inbetween

    normally it is created in root folder i wonder how u get in images folder

    Regards

    Alex
     
    kmap, Apr 14, 2010 IP
  6. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    if you have root access when I do not think that you can;t delete the file it's actually impossible to not delete the file with root access :) also check the file permissions (what is the owner of the file)
     
    casius, Apr 14, 2010 IP
  7. Koala

    Koala Well-Known Member

    Messages:
    1,831
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    185
    Digital Goods:
    5
    Articles:
    4
    #7
    file permission is 644, can not change it either..
     
    Koala, Apr 14, 2010 IP
  8. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    what do you mean you can't change them? What is the owner of the file? Do you have SSH access at all?
     
    casius, Apr 14, 2010 IP
  9. Koala

    Koala Well-Known Member

    Messages:
    1,831
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    185
    Digital Goods:
    5
    Articles:
    4
    #9
    wow, it's amazing, I could delete it, I didn't do anything.. simply deleted through FileZilla.. have you any ideas what was happened ?
     
    Koala, Apr 14, 2010 IP
  10. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #10
    .pureftpd-upload.4bc48229.15.78be.7813b4fd = this is a temporary file created when you are transferring files between your server and your pc. It usually deleted when uploads finished.
    If it's undeletable, just log into your cpanel, use the file manager and delete the file from there. Presto!
    Oh, you can also just reupload the same file again and make sure the transfer is not interrupted and the file will dissapear when the upload finished.
     
    proxywhereabouts, Apr 14, 2010 IP
  11. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    With which app you been trying to delete the file? I think simply you have the temporary file where system just released it after the process was finished that is why you were able to delete it.
     
    casius, Apr 14, 2010 IP
  12. adublin

    adublin Well-Known Member

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    138
    #12
    As casius says, you need to find out who the owner of the file is. Just because it's in your directories doesn't mean you have ownership of it.

    Check in file manager who the owner is - if you can't delete it, most likely your not the owner.

    If you have shell access you can see if you can take ownership of the file by typing the following;

    chown yourid original_owner filename

    Replace yourid with your webhost userid
    Replace original_owner with the owners username
    Replace filename with that the file you want to remove

    After you take ownership you can delete it;

    rm filename

    Hope this helps,
     
    adublin, Apr 14, 2010 IP
  13. casius

    casius Peon

    Messages:
    168
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    He managed to delete that file with filezilla so I guess that it was the process problems, but not ownership or permission related.
     
    casius, Apr 14, 2010 IP
  14. FavouritesBlog

    FavouritesBlog Peon

    Messages:
    846
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #14
    The file is created by PureFTPD
     
    FavouritesBlog, Apr 15, 2010 IP
  15. sysadmin

    sysadmin Peon

    Messages:
    111
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    ya , the reason will be due to wrong ownership, because pure ftpd service won't be owned by your local user.
     
    sysadmin, Apr 15, 2010 IP
  16. nunewnew

    nunewnew Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    With what application you are trying to delete a file? I think you have just a temporary file in which the system just released him after the process has been completed, so you can remove it. If I have any good idea I will post, thx very much
     
    nunewnew, Apr 29, 2010 IP