How do I overwrite file via FTP without changing owner/group?

From: Date: Mon, 15 Apr 2002 22:34:48 +0000
Subject: How do I overwrite file via FTP without changing owner/group?
Groups: php.general 
Request: Send a blank email to php-general+get-93101@lists.php.net to get a copy of this message
Hi, I am using the example code at php.net to FTP a file to a remote server. I am trying to overwrite an existing file, but want to maintain the owner/group of the file being overwritten but it keeps giving the overwritten file the owner/group name of the userid that I am loggin in via FTP with. When I do the same with a windows FTP client it does not change the file ownership. How can I make this happen in php's FTP functions? The file I am overwritting is owned by username nobody and I want the overwritten file to maintain that username.

« previous php.general (#93101) next »