A question about ftp_copy, is it possible to connect to an external ftp server and copy files directly on that ftp account? source and target on same external ftp server. Example:
source: ‘/home2/USERNAME/install/install.php’ to target : ‘/home2/USERNAME/public_html/FOLDERNAME/install.php’
go to “/home2/” and compress “/USERNAME/” then copy the zipped file to ‘public_html’ folder then extract it there.
create ‘FOLDERNAME/install.php’ to load ‘FOLDERNAME/install/install.php’.
as simple as that.
I dont have Root access to the virtual server
I made another solution that worked =)