nate wrote:
Frank M. Ramaekers wrote:
I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted.
You can probably drastically simplify your script by using ncftpput
and simplify it even more using scp, assuming the server at the other end is unix or linux and supports ssh/scp. first, exchange ssh-keys, then...
scp $DataFile $VMID:$$VMUser@$VMDir
btw,
if [ $MYSCRIPTDIR != "." then cd $MYSCRIPTDIR fi
is rather redundant. cd . is a no-op, so you might as well just say...
cd $MYSCRIPTDIR