Samba Script not completing

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Jeremy C. Reed
Datum:  
Betreff: 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/