Delete a file

Discussion in 'Site & Server Administration' started by rebrain, Mar 27, 2008.

  1. #1
    Hallo.
    I got a really strange problem. I created through a php script a folder with Cyrillic characters in the name. Now I can not delete it neither through the same script nor through an FTP program.
    It does not even display the folder in there!
    Any ideas? :confused:
     
    rebrain, Mar 27, 2008 IP
  2. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #2
    Can you login to the server via shell? You'll be able to do this easily through that.
     
    boltok, Mar 27, 2008 IP
  3. rebrain

    rebrain Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I never tried.
    I think not because I am just buying some hosting account, I don't have any server.

    If I remember it right the connetion is made through a program called Putty. What login data do I need to connect via shell?
     
    rebrain, Mar 27, 2008 IP
  4. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #4
    Yes, Putty is an SSH (secure shell) client. To use it, you'll need the server IP address (or url), a username and a password.

    You'll also need to know some basic shell commands for occasions like these. Here's a reference page in case you're not familiar with these:

    http://partmaps.org/era/unix/shell.html

    You'll find lots of support for this online so don't hesitate to give it a try.
     
    boltok, Mar 29, 2008 IP
  5. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Check with your host first, if they provide ssh login, in case you are in shared hosting environment. If you don't have ssh, you can ask your host to delete that folder. It's a quick task, and I believe they will be happy to help
     
    gate2vn, Mar 29, 2008 IP
  6. Farhan5

    Farhan5 Peon

    Messages:
    189
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    which host u r using?
     
    Farhan5, Mar 31, 2008 IP
  7. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #7
    it depends. ftp client might not see *special* characters. Also, if the files/folders were created by script, they are owned by web user, not ftp user, so a normal ftp user could not delete them
     
    gate2vn, Mar 31, 2008 IP
  8. ilxeon

    ilxeon Peon

    Messages:
    336
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #8
    if php is run as webserver then you might not be able to delete it either way, you can simply contact your host and they can delete it for you.
     
    ilxeon, Mar 31, 2008 IP
  9. rebrain

    rebrain Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    thank you guys. I will have to ask the hosting provider for help :)
    @Farhan5: www.hostloco.com
     
    rebrain, Apr 2, 2008 IP