I have some code that is using the PHP cURL library to upload some files via FTP.
I've been told to switch the FTP mode from passive to active, but I can't find how to do that - there doesn't seem to be an option in the documentation relating to it. I'm not actually sure what mode it is currently using, or how I can view that.