ftp user via remoting

Discussion in 'Developers' Forum' started by hurie, Oct 12, 2010.

  1. hurie

    hurie New Member

    I have problem at create or update ftp user via remoting. Error say directory_error_notinweb.

    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.

    Is there anything that I can use to overcome this problem. Thanks.

Share This Page