: Folder has gone missing on webserver I was trying to rename a folder on my Linux webserver. I added a double slash infront of older name e.g //foldername. Now the ftp showed this message
I was trying to rename a folder on my Linux webserver. I added a double slash infront of older name e.g //foldername. Now the ftp showed this message
Renaming '/public_html/cache/test' to '/test'
Command: RNFR test
Response: 350 RNFR accepted - file exists, ready for destination
Command: RNTO /test
More posts by @Pierce454
1 Comments
Sorted by latest first Latest Oldest Best
Check the files inside the ROOT directory of your server.
Example:
root@dev7:/# cd /
root@dev7:/# ls
bin etc lib mnt root srv usr
boot home lost+found opt sbin sys var
dev initrd.img media proc selinux tmp vmlinuz
root@dev7:/# cd //
root@dev7://# ls
bin etc lib mnt root srv usr
boot home lost+found opt sbin sys var
dev initrd.img media proc selinux tmp vmlinuz
root@dev7://
As you know, ./ means current directory and ../ means parent directory but / and // and even //(...) all go to the ROOT. (Why it displays two // in root@dev7://# beats me.)
My guess is that you now have another folder in your root directory, /test and you should check that.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.