[wellylug] ftp script
william.hamilton at gmail.com
Fri Nov 14 18:46:50 NZDT 2008
2008/11/14 Kevin O'Riordan <kfor at compsoc.com>
> Hi William,
> > mget $REMOTEDIR/$FILE*
> > local: file does not exist.
> Two options: either you can change your lcd to
> lcd /home/webfund
> or change your mget line to
> cd $REMOTEDIR
> mget $FILE*
> In your original, your mget is trying to create the $FILE* files in
> the $REMOTEDIR dir _inside_ the dir you've already lcd'd to. So it's
> trying to create the file:
> but it fails because it can't create that second 'backups' dir.
> You could also consider using wget or something like that instead.
> hope that's of use,
> Kevin, bloody magic.. I feel like such an idiot with that one.. trying to
> make the code short as poss :)
thanks for everyone's input.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wellylug