What are the permission of the uploaded files?
Having write rights for a directory does not allow you to modify existing files (unless you have right to those files as well). It only enables you to delete them.
SSH daemon on HP-UX supports option SftpUmask
which specified the rights newly uploaded files get.