[Samba] get file information from smb share

Gerald (Jerry) Carter jerry at samba.org
Tue Aug 19 15:36:38 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 18 Aug 2003, Razvan Cosma wrote:

>    Hello,
>   I (and probably everyone else) noticed that right-clicking on a file 
> located on a remote share (at least in the windows explorer) provides a 
> lot of useful info besides the size & access rights. It does that 
> without transferring the entire file, so what I'm wondering if there is 
> a way to access that info using libsmbclient (meaning: is this part of 
> the smb/cifs protocol specification or just a explorer feature)?

Probably be reading the header of the file.  Take a network trace and see 
what traffic is generated.




cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE/QkQGIR7qMdg1EfYRAk2oAJ4mOm1iQrEeEHYxj7TDNcOBKC1lJgCffR2N
rBLYSY0w0b/NI4GyM9CZcX0=
=0hM6
-----END PGP SIGNATURE-----




More information about the samba mailing list