Results 1 to 4 of 4

Thread: smbclient: Copy files from a Linux system to Windows system

  1. #1
    Member
    Join Date
    Apr 2012
    Posts
    40
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default smbclient: Copy files from a Linux system to Windows system

    Hi,

    im trying to copy a file from my Linux box to windows .
    my input file is = /home/user/project1/project.tar
    my host is = windows username@ip address
    my output path = C:\Share

    so i tried,

    scp /home/user/project1/project.tar windows username@ip address C:\Share,

    and got errored.i couldnt find the error .can anyone please explain what the error and please the solution as well.

    Thanks,
    Inshaf

  2. #2
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    485
    Thanks
    10
    Thanked 49 Times in 46 Posts
    Rep Power
    8

    Default

    Hi,
    scp uses ssh for data transfer and its required SSH server, you can install OpenSSH with Cygwin can run on Windows
    Rahul Patil <http://www.linuxian.com>

  3. #3
    Contributors jaysunn's Avatar
    Join Date
    Apr 2009
    Location
    NYC - USA
    Posts
    1,027
    Thanks
    165
    Thanked 154 Times in 133 Posts
    Rep Power
    24

    Default

    Or if you need a graphical solution. Take a look at winscp:
    PS: I just hit my 1000 post on the forum. Whoo Who
    Screenshots :: WinSCP
    WinSCP :: Download







    Last edited by jaysunn; 10th May 2012 at 07:39 PM.

  4. #4
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,514
    Thanks
    17
    Thanked 808 Times in 511 Posts
    Rep Power
    10

    Default

    Turn on sharing on C:\Share on Windows. Login to your Linux server and use the samba client called

    First, log in to a share on Windows (IP 192.168.1.10):
    Code:
    smbclient -U username //192.168.1.10/share
    To copy local file to share:
    Code:
    put /path/to/project.tar
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Debian Linux files system root unmount,kernel panic.
    By ronen_p in forum Ubuntu / Debian
    Replies: 1
    Last Post: 23rd April 2011, 08:12 PM
  2. Debian Linux files system root unmount,kernel panic.
    By ronen_p in forum Linux hardware
    Replies: 1
    Last Post: 23rd April 2011, 08:12 PM
  3. System hangs (freezes) on system bell/beep
    By DeadBadger in forum Solaris/OpenSolaris
    Replies: 2
    Last Post: 9th January 2011, 07:57 PM
  4. Script To Copy Files From Windows XP To Linux Server
    By haykins in forum Shell scripting
    Replies: 6
    Last Post: 18th September 2009, 12:12 PM
  5. Replies: 3
    Last Post: 15th November 2008, 10:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •