Samba Script not completing

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
Subject: Samba Script not completing
On Tue, 15 Jul 2003 wrote:

> Here is the batch file in question:


What is your definition of a batch file?

> smbclient \\\\servername\\sharename -U <username> -N
> sleep 2
> put deleteme testagaina11
> quit
> exit


If you want to do this with a shell, do something like:

( sleep 2 ; echo 'put deleteme testagaina1' ; echo 'quit' ) |
smbclient \\\\servername\\sharename -U <username> -N



Jeremy C. Reed
http://www.reedmedia.net/