Hi, Thanks for the tip.
I tried using smbclient but ran into some other problems (I/O timeout downloading files) :( Then I tried using smbget (wget like utility for SMB/CIFS shares). It works (for files over 2GB, but like wget, it is limited to only one tcp connection). But, it also seems that it does not depend on libsmbclient, at least ldd does not show libsmbclient as a dependency of /usr/bin/smbget. Am I looking at some bug in libsmbclient over here? Another thing, why does smbget manage to get the file first time around itself and smbclient consistently has problems downloading files from the server (network conditions remaining the same)? So my question, which of smbclient or smbget is more mature/ maintained? Do any of these depend on libsmbclient (static/ dynamic linking)? Regards, -Devavrat > -----Original Message----- > From: Emmanuel Florac [mailto:[email protected]] > Sent: Wednesday, March 28, 2012 3:55 PM > To: Devavrat Mittal > Cc: [email protected] > Subject: Re: [Samba] 2 GB file size limit with libsmbclient and > Filesys::SmbClient perl module?! > > Le Mon, 26 Mar 2012 00:59:47 -0700 > Devavrat Mittal <[email protected]> écrivait: > > > Now, my script is written in perl and uses Filesys::SmbClient, which > > in turn, uses libsmbclient for SMB/ CIFS access. Attached is my > > script tarball. > > As Filesys::SmbClient uses libsmbclient.so, I'd first try using the > smbclient command to list and transfer files to check that it actually > behaves as expected. > > -- > ----------------------------------------------------------------------- > - > Emmanuel Florac | Direction technique > | Intellique > | <[email protected]> > | +33 1 78 94 84 02 > ----------------------------------------------------------------------- > - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
