Anyone know how to read a file from a remote FTP server and load that data into Sugar via a Scheduler?
I am unable to use
$streamContext = stream_context_create(array('ftp' => array('overwrite' => true));
$fileHandle = fopen($url, "w", 0, $streamContext);
because fopen is blacklisted and I am unable to use
$result = ftp_get($connectionId, "php://output", $file, FTP_BINARY);
$data = ob_get_contents();
because ob_start is blacklisted.