Delete Folder SSH Help

Hi there
When uploading a folder to the cloud, the internet went down, then I deleted the folder and tried to upload again.
Now i have a error every time i tried upload the folder with the same name, cannot creat the forlder.
In the directory by ssh cmd, the folder exist and i cant delete the folder, i have tried many options and nothing.
On the cloud the folder does not appear, and by ssh i cant delete the folder.foto
Can someone help

Stop the webserver, unmount the disk and run a check on the file system:

OK, thanks

I go try.