Re: smbclient question.
Marcin,
I just tested that out and you are right. There is a prompt in smbclient!
Cool.
Greg
On Fri, 29 Jun 2001, Marcin Owsiany wrote:
> On Fri, Jun 29, 2001 at 04:01:53PM +0100, Friedrich wrote:
> >
> > smbclient //server/share -U user%password -c "cd location\of\data;mget *"
> >
> > Then is says :
> >
> > Get file file1.txt?
> >
> > and this will then stop it from working in a script that is a cronjob. Any ideas on how I can get
> > it to just get the files and not ask anything?
>
> I don't know about smbclient, but FTP has a 'prompt' command
> to solve this problem. Maybe try 'prompt n' before that?
>
> Marcin
>
--
Greg Rowe
Paranoia is a virtue.
http://www.therowes.net
Reply to: