ftp user via remoting

After a bit digging I found that the validator validate_ftpuser.ftp_dir trying to search unknown record on table ftp_user. It's trying to select data using ftp_user_id equal to $app->tform->primary_id which on current state it not initialized.

There's no code for assign primary id from remoting_lib for $app->tform. And this for sites_ftp_user_update.

For sites_ftp_user_add it seems bit more worst because there is no record before method finished and the validator have code to select parent_domain_id from table to use validate the rest.