Mobile app version of vmapp.org
Login or Join
Pierce454

: 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

@Pierce454

Posted in: #Ftp

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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ravi8258870

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme