smbclient can be used similar to ftp.  This is very helpful for a one-time
+access of a windows pc.  "man smbclient" for more details.

For example:
 smbclient //janani/C -I 172.31.41.171
Added interface ip=172.31.41.174 bcast=172.31.41.255 nmask=255.255.255.0
Password:
smb: \> ? dir
HELP dir:
        <mask> list the contents of the current directory

smb: \> cd sk
smb: \sk\> dir
  .                                   D       0  Tue Feb  1 15:16:58 2000
  ..                                  D       0  Tue Feb  1 15:16:58 2000
  Normal.dot                          A   27136  Mon Dec 20 16:02:24 1999
  kernelm.doc                         A   78848  Tue Mar 21 12:25:00 2000 
  kernels.doc                         A 2967040  Thu Mar 30 15:54:08 2000
        .
        .

                65501 blocks of size 16384. 8129 blocks available
smb: \sk\> ?
ls             dir            du             lcd            cd
pwd            get            mget           put            mput
        .
        .
smb: \sk\> get readme.txt
getting file readme.txt of size 9367 as readme.txt (175.912 kb/s) (average
+175.913 kb/s)
smb: \sk\>

Regards,
Sateesh.
On Wed, Apr 05, 2000 at 01:12:40AM +0530, Soumyanath Chatterjee wrote:
> Dr.S.Sekar <[EMAIL PROTECTED]> was found saying
> > I have the IP address of a networked pc working on Windows.
> > I wish to transfer a file from that pc to my linux pc.
> > Pl give me a lead as to how to do this.
> 
> Sitting on Linux machine and accessing a file on Win machine is the problem.
> If your machine is on the same network then I think you can simply *rcp* the
> file. But then I think remote administration option should be enabled on
> your win machine.
> 
> man rcp for further details.
> 
> I am no expert on this and do not have any win-lin network. Experts pl.
> correct me if I am wrong.
> 
> -Soumya
> 
> 
> -----------------------------------------------------------------------
> For more information on the LIH mailing list see:
> http://lists.linux-india.org/lists/LIH

-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to