Hi all,
I've been looking all around the internets for a solution to a little problem I'm having with my latest php based website, which just happens to be two other things too - my university dissertation, and a major pain in the head...
The problem is, once one script has uploaded, processed, and saved information to a database, the file needs to be moved to another server (one is fast at processing, the other has 2Tb free space) for the indefinite hosting.
I can't seem to do this with PHP's FTP functions - and I'm assuming this is because of the limitations of PHP's file handling ability.
Is there a possiblity to do this using exec() and Fedora's built in FTP programme, or something similar?
The filesizes can vary from around 10mb to maybe 300mb. Both servers are on fibre links so speed isn't a problem. I'd thought FTP through exec might work, but can't figure out if FC4 can accept a complete FTP function in one go.
If it helps, I've got root access to the main server where the scripts are hosted.
Any help is much appreciated :o