Hello,
I need to figure out how to connect to a remote ftp server through php, and then downloading all the contents to the local server.
Only method I could think of is to keep using ftp_nlist for each subfolder and download each folder with a big loop. I guess when ftp_nlist returns 0, go back a directory and keep doing the same thing...
I am very lost how to begin...
I need to figure out how to connect to a remote ftp server through php, and then downloading all the contents to the local server.
Only method I could think of is to keep using ftp_nlist for each subfolder and download each folder with a big loop. I guess when ftp_nlist returns 0, go back a directory and keep doing the same thing...
I am very lost how to begin...