You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SFTP/ FTP connection function calls in PHP cron script

Received Response
113
Views
2
Comments
edited Jun 8, 2022 12:09PM in General Technical Discussions 2 comments

Summary

SFTP/ FTP connection function calls in PHP cron script - function ftp_connect call undefined...

Content

Hi,

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!