Stable Time script

Hi
I have got a simple script that moves files from one folder to another, but would like to add some extra functions to the script.
Firstly i would like to add a file stable check. We can copy large files to the source directory and i want to ensure the copy has finished before its moved to backup directory.
Next i would like to add either ssh or ftp so the backup directory could be on a remote server

#!/bin/sh

SOURCE_DIR=/prod2/SHARED/Enfocus_Pitstop/Twist_Certified_Magazine/Passed/
BACKUP_DIR=/symlnks/io/jobs/workflows/TAG-466/Certified_Passed_Error/

cd $SOURCE_DIR
mv -f * $BACKUP_DIR/

thanks in advance
Treds

One way is to use semaphore files, i.e. empty files with the same name as the file they accompany plus an extension. You could write a semaphore file first, then copy the file and remove the semaphore file after the copying is done.

I am affraid thats a bit over my head not really a script person