Have you checked other directories that you can write to as an FTP user? Is it possibly writing the file someplace else? If a unix system, try doing a find on the exact filename; if it is making it's way to the system in a different place, that would tell you where.