How To Delete File On Ftp That Says No Such Directory
Rather strange question I received. It is strange cause there is no file you need to delete that will solve the problem. You need to find out what is wrong and fix it.
Most probably this means that there is no such directory name in your site.
Let me give a clear example:
You just uploaded files using FTP and when you go to your domain name in your web browser such as:
deletespyware-adware.com/xmas/offer.htm you receive the error message.
It clearly means there is no such directory. It refers to xmas directory. The offer.htm is a file, the xmas is the directory (or folder) and deletespyware-adware.com is the domain name.
So after you open ftp software and connect check to see if that folder is missing. Check to see if it is spelled correctly. For example: If in your ftp the directory name is xmass and you are typing in:
deletespyware-adware.com/xmas/offer.htm (returns error cause in ftp the directory name is xmass)
If you want to access the url: deletespyware-adware.com/xmass/offer.htm than make sure the directory name is xmass on your ftp and not xmas or something else.
Another possible problem:
The location of the folder.
The url deletespyware-adware.com/xmas/offer.htm
means that xmas directory is located at the root (beginning of your site).
This url deletespyware-adware.com/seasons/xmas/offer.htm
means that xmas directory is located inside the seasons directory.
Your GOAL is to open ftp software, connect and see if the folder xmas is in its appropriate position. If in your ftp it is inside the folder seasons that to access it in your web browser you must type in:
deletespyware-adware.com/seasons/xmas/offer.htm AND NOT
deletespyware-adware.com/xmas/offer.htm
Let me give you another clear example:
My website is www.deletespyware-adware.com in this example. I open my ftp software and connect. I see the following directories:
blog
articles
downloads
I double click on the blog directory and inside I see the following directories:
pictures
videos
songs
articles
I double click on my articles directory and inside there is one file:
security.htm
Now if I want to access the file security.htm I would receive No Such Directory (or 404page not found error) IF I did not type in the exact location of the security.htm file.
The exact location of the file is:
deletespyware-adware.com/blog/articles/security.htm
So if you misspell the directory or file name or do not put the exact location of the directory or file there it won’t work. A bad example is: deletespyware-adware.com/free/articles/security.htm cause free directory does not exist.
Usually the error No Such Directory occurs when you type in a directory such as in our case free that does not exist entirely.
More bad examples:
deletespyware-adware.com/blogs/articles/security.htm cause the directory is called blog not blogs.
deletespyware-adware.com/blog/articles/security.html cause the file is security.htm not security.html (usually this gives 404 page not found error message)
deletespyware-adware.com/blog/security.htm cause the security.htm file is inside the articles directory not in the blog directory.
So to figure out what is happening you need to check out what directories and/or files you have in your ftp software.
So to recap:
When accessing a web page such as deletespyware-adware.com/articles/security.htm the page won’t load if there is something wrong with the name or position of the domain name, directories and/or files.
You check this in your FTP. If you wanna access deletespyware-adware.com/articles/security.htm you must make sure that the file is located inside a folder named exactly articles. The articles folder must be in the beginning (the root) therefore not inside some other folder.
Hope this is helpful. Let me know if there are some thing I need to make more clear. I tried to make it as simple as possible but we are not on the phone
How To Delete File On Ftp That Says No Such Directory



