Come the end of December my hosting company will no longer allow the use of FTP, insisting on SFTP. I run the curl script as a cronjob on a Raspberry Pi running Bullseye. I am assuming that the change from FTP to SFTP will not affect this.
And you are right, curl script as a cronjob is similar what a browser does, fully different from an ftp session.
regards,
Wim
To be pedantic - it depends on how you’re using cURL. It can be used for FTP transfers as well as other communication protocols.
Sorry, i adapted my slightly to short answer.
OP is using curl as a cronjob so I assumed it is simple http access only.
Wim