Hello, I have a custom script written by myself using fopen to read a csv. But it do not work in most of hosting providers so need to convert in oerder to work with curl. All you have to convert fopen function to curl.
fopen might not work becase you are trying to open a file on another host. Then use curl to download the file and then keep the original function.