I think I found the problem. Make sure you have all of the following lines in your ioftpd.env:
Code:
SYSTEMPATH=%[$path]
VIRTUALPATH=%[$pwd]
UID=%[$uid]
GID=%[$gid]
USER=%[$user]
GROUP=%[$group]
These are all the environmentvariables used in the script. If any of these are missing, it probably won't work. So add them all in /ioftpd/etc/ioftfpd.env and restart ioFTPD.