dreamwest Posted July 10, 2009 Share Posted July 10, 2009 I have 2 server one with a database (no remote access) has file names stored and second with physical files I need to make a backup of 20,000 videos on the remote server. Local server: /htdocs/user/dir/ftp_script.php Remote server: /htdocs/user/dir/ //all videos here /htdocs/user/backup/ //transfer backup files here What ftp function can i do this with, the only way i can think of is to download the file to local server then reupload it to remote server Quote Link to comment https://forums.phpfreaks.com/topic/165457-what-ftp-function-for-this/ Share on other sites More sharing options...
ignace Posted July 10, 2009 Share Posted July 10, 2009 then reupload it to remote server This implies you have ftp access to the remove server? Then why don't you create a script that just copies all videos from dir to backup? Quote Link to comment https://forums.phpfreaks.com/topic/165457-what-ftp-function-for-this/#findComment-872649 Share on other sites More sharing options...
dreamwest Posted July 10, 2009 Author Share Posted July 10, 2009 I want to filter out some i dont need. Anyway i got the remote database to work by using an ip, now i just need to transfer the files from one directory to the dackup Quote Link to comment https://forums.phpfreaks.com/topic/165457-what-ftp-function-for-this/#findComment-872651 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.