[Samba] Multithread via Perl

Chao, Simon Simon.Chao at FMR.COM
Wed Jun 1 18:13:18 GMT 2005


I am executing a command in a perl script using system($command) to get
a file from a server. The command is "smbclient [various options and
login info] 'get <remote file> <local file>'

I run this perl script 4 times, one after another, with an ampersand (to
run in background) within a shell script. There seem to be problems. I
get the file, then zip it up afterwards. The zip is stating that the
file is not there. When I run this withOUT the ampersand (that is, I run
the 4 perl scripts in succession versus concurrently, I do not get this
problem). Is there an issue with concurrent calls using the samba
client?

Simon Chao
Software Engineer
Fidelity Investments
(617) 563-3612
simon.chao at fmr.com



More information about the samba mailing list