gerrym at futuremetals.com
Wed Jan 31 20:14:02 GMT 2001
I got it.
This is the cronjob to get a file from the NT Server
smbclient //ntservername/directoryIwant -U username%password "get filename"
Heres is the cronjob to put a file on the NT Server
smbclient //ntservername/directoryIwant -U username%password "put filename"
Gerry Maddock wrote:
> I have 2 data bases on 2 servers (1 here and 1 @ out London branch). One
> of the servers is a Samba server, and the other is NT.
> Every night I want to first download a file from the NT server to the
> Samba server, after that is finished I want to send a file from the
> Samba server to the NT server. I can do this manually with smbclient,
> but I don't want to do this manually. Is there a way I can run smbclient
> in conjunction w/Expect?
More information about the samba-ntdom