<br><div class="gmail_quote">2008/11/14 Kevin O'Riordan <span dir="ltr"><<a href="mailto:kfor@compsoc.com">kfor@compsoc.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi William,<br>
<br>
> mget $REMOTEDIR/$FILE*<br>
...<br>
<div class="Ih2E3d">> local: file does not exist.<br>
<br>
</div>Two options: either you can change your lcd to<br>
<br>
lcd /home/webfund<br>
<br>
or change your mget line to<br>
<br>
cd $REMOTEDIR<br>
mget $FILE*<br>
<br>
In your original, your mget is trying to create the $FILE* files in<br>
the $REMOTEDIR dir _inside_ the dir you've already lcd'd to. So it's<br>
trying to create the file:<br>
<br>
/home/webfund/backups/backups/20081113<br>
^^^^^^^^<br>
<br>
but it fails because it can't create that second 'backups' dir.<br>
<br>
You could also consider using wget or something like that instead.<br>
<br>
hope that's of use,<br>
<font color="#888888">Kevin<br>
</font><div><div></div><div class="Wj3C7c"><br>
Kevin, bloody magic.. I feel like such an idiot with that one.. trying to make the code short as poss :)</div></div></blockquote><div><br>thanks for everyone's input.<br><br>W <br></div></div><br>