hello ,
I want to get file which on FTP , and i want to do this through the function fsockopen();
so as example if the url was
"
ftp://shadi:shadi@files.shadiweb.com/myfile.zip "
I want to know how to use the function fsockopen to connect to the server , then which header i'll send to download this file.
Note : i need the header so i can save the file using function fgets();
Thanks alot