As I want to upload a remote FTP link, I removed the red part in submit.php.
if( $can_do_it == 1 AND $this->ipsclass->input['file_url'] AND $this->ipsclass->xss_check_url( $this->ipsclass->input['file_url'] ) )
Now is the problem, does 'xss_check_url' only check the header of the link or also check the file size? If 'xss_check_url' doesn't check the file size and the file size shows wrong after I uploaded an FTP link, is it the problem of the settings of the FTP server? how to set up the FTP server to allow IDM check the file size?
Thanks.