I need to get all files from a local folder and send via FTP to a folder on the server.
Explanation:
I have a folder with images (.jpg) of products that at the time of registration generate an ID in the mysql database and put it as the name in the image.
I need to take these images and take them to another server via FTP, so it would not be functional to select or even manually do the process, so I need a way via PHP programming that I then schedule in the server cron for execute.
Thank you