• sugarcrm vagrant Function ssh2_connect not found, you cannot use ssh2 here

    Hi All, my code: <?php $host = 'sftp://x.x.x.x'; $port = 22; $username = ' username '; $password = ' password ; $remoteDir = '/folder1/ folder2 '; $localDir = '/ folder1 / folder2 '; if (!function_exists("ssh2_connect")) die('Function ssh2_connect…
  • connect sftp and get csv file from folder and then import into sugarcrm or read data from csv and update into sugarcrm

    Hi All, Sugarcrm version 12 Can you please help me with how to connect sftp using php code and get csv file from sftp folder and then import into sugarcrm or read data from csv and update into sugarcrm? Thanks, Shreya