Hi all,
I've got an FTP process in PHP that needs to transfer files from server 2 to server3. Data gets trasnfered to server 2 from server 1 (a mainframe).
So:
server 1 = mainframe
server 2 = "ftp" server
server 3 = destination server.
How can I know if my FTP job running on server 3, to get files from server 2 can tell if the file that is about to be transfered from 2 to 3 is not being currently transfered from 1 to 2? Is there a return code in FTP that I can check for that says, hey...this file is currently in use, or currently being written to?
Thanks!
I've got an FTP process in PHP that needs to transfer files from server 2 to server3. Data gets trasnfered to server 2 from server 1 (a mainframe).
So:
server 1 = mainframe
server 2 = "ftp" server
server 3 = destination server.
How can I know if my FTP job running on server 3, to get files from server 2 can tell if the file that is about to be transfered from 2 to 3 is not being currently transfered from 1 to 2? Is there a return code in FTP that I can check for that says, hey...this file is currently in use, or currently being written to?
Thanks!