I've tried using the wu-ftpd (2.4, 2.4.2beta11, and BSDIs ftpd) all with
the virtual ftp patches installed. The virtual ftp works just fine and
so do uploads. I want to modify the permissions and ownership of
uploaded files so I use the upload feature in ftpaccess as follows:
upload /var/spool/ftp /test yes bob users 0600
upload /home/bob/ftp-site /ads yes bob users 0600
The first line works okay. (This is our non-virtual ftp site.) The
files uploaded to /test are created user bob with group 'users' and the
permissions are as expected.
The second line sort of works fine, with one major problem. The file
is created as user bob and group users and the permissions are fine,
BUT... the file has a zero length! When I don't use the 'upload'
line above, the file is uploaded fine but of course the file
permissions and ownership are not as desired.