WD Community

Can not delete a folder

I have a WD 4TB My Cloud Personal Network Attached Storage - NAS - WDBCTL0040HWT-NESN with the latest firmware.

I have a folder that will not delete ! Using Windows 7. I can delete other folders with no problem but this one will not go !
Its not protected I am under Administrator
I have rebooted the drive
I even tried WinSCP I get this error: General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Any thoughts ?

Are you trying to delete a folder or a share? Are you able to provide an image of what you are seeing and the folder that you want to delete?

What is the folder called?

Its not a share. Its folder which I named it TEMP but now it wont delete

folder name is temp and I guess WD has no idea either how to delete it.

Have you asked them?

[Hint: we’re users, like you, not WD Support]

I would suggest you login to the MyCloud’s Linux OS via SSH as root, and delete the offending folder using rm -R. Just make sure you delete the right folder…

I did with WinSCP it didn’t work

I’d still suggest SSH login; you’re sure you’re root then.

And you are better able to forcibly change permissions, or to see if the folder is in use by a process (lsof is your friend!), and all sorts of stuff, not to say the least about getting better verbose output on reason for failure.

I can log in with putty but I have no clue what commands I need to delete the folder called “temp” that’s why I tried using WinScp

change directories with [cd]
make directories with [mkdir]
remove (empty) directories with [rmdir]
remove individual files with [rm]
Recursively delete all files inside a directory with [rm -R {path of folder}]
If you get a “file in use” error, you can use [lsof] to see which processes have files open, to identify the naughty process.
Once you know the name of the naughty process, you can find its PID with [ps -A |grep {name of process}]
Once you know the PID of the naughty process, you can kill it with [kill -9 {PID}]
You can then delete the file/folder, because it wont be in use anymore.

Sorry those command are beyond me :frowning:

You only need the cd and rm commands. They really aren’t hard. Google will provide thousands of pages of instructions for their use.

If you can’t figure it out, I’m afraid you’re going to be stuck.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.