Subj : Re: how can I get a file from windows machine To : comp.os.linux From : Jerry Feldman Date : Wed Jul 07 2004 09:38 pm hzw wrote: > Thanks for your help, I tried smbclient manually, it works. but when I > tried to use TCL to call this, it failed, I can not work like telnet. > could you tell me how to do it. thanks. As Durk wrote, you can use SMB/Samba. What you need to do is to mount the windows share: (Check the man page smbmount) Create a mount point, say /windows then mount your share, lets call the machine hzw. > su # become root Password: # mkdir /windows # mount -t smb //hzw/c /windows Note that only root can mount a windows share at this time. In the long run, you should set this up in the /etc/fstab so the mount command is simpler. -- Jerry Feldman Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 .