I can't really answer that since I don't know the application architecture....
I suppose, If I had my 'druthers, I would use FTP if it was available, but CURL may be more straight forward for someone just starting with PHP coding...
CURL is worth learning anyway.