Can't delete file

Discussion in 'Apache' started by Joobz, Nov 6, 2007.

  1. #1
    I have been sending files up to my server via ftp but something happened and now I have a zero byte file that I can't delete. I have tried changing permissions, etc but nothing works.

    I keep getting errors saying I may not have permissions deleting the file. The file is apparently some sort of file fragment that didn't get uploaded properly. It's named:
    .pureftpd-upload.47312b2b.15.2f16.dcc003af

    What to do?
     
    Joobz, Nov 6, 2007 IP
  2. Neptune

    Neptune Well-Known Member

    Messages:
    1,465
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    108
    #2
    if you have access to ssh and u can do it via command line, navigate to the directory where the file is and do

    rm -rf (filename)
     
    Neptune, Nov 6, 2007 IP
  3. tonybogs

    tonybogs Peon

    Messages:
    462
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You may need to sudo to root to do this providing you have access

    sudo -s
     
    tonybogs, Nov 8, 2007 IP