SFTP/ FTP connection function calls in PHP cron script
SummarySFTP/ FTP connection function calls in PHP cron script - function ftp_connect call undefined...
I am trying to upload a file to a SFTP server (Axway) using a file manager script. This script will produce a csv data file and from tmp directory I need to send this file to the remote SFTP server. From the script I’m able to send the files to my email address using MailMessage API. But I need to use these file server details programmatically to establish the FTP connection in php script and transfer the files. so that this process can be automated in the script itself.