That variable is set in the Environment and my other script that uploads a file using FTP also uses this variable and it works.I would assume that either $backupfile variable is not defined or nothing is stored in it when executing script.
I'll give it a go when I get home. I was just being impatient. I can't access it at the moment to try it.Switch it around, what's the worst that can happen?
Thanks jspool I'll try that.Could it be saturation? Have you tried capping the bandwidth just below your max speed to see if it will keep it alive?
I just checked back on this and in the meantime my friend suggested EoIP. Just thought I would chime in and say how great it was.Excellent, did you use my example above or did you find EoIP before I posted?EoIP is amazing and I highly recommend it. Works a treat. Thanks.