How can I use fopen("ftp://$user:$pass@$domain/test.php", "wb");
for FTP Explicit SSL/TLS ?
Something like fopen("ftpes://$user:$pass@$domain/test.php", "wb");
.
ftpes://
is not listed in Supported Protocols and Wrappers
From Filezilla Client, I can confirm that ftpes://$domain is right and even the user credentials are correct.
Basically I want to write the contents directly through fwrite()
, the same code works for ftp and ftps but not ftpes.
Let me know if any more information is required.