Fixed issue 3622

disable delete option when the file isn't upload by self on write shared
folder.