Forums

×

Warning

JUser: :_load: Unable to load user with ID: 152291
Medium
Offline
Resolved
0 votes
I am able to copy the file from window machine to Linux machine via pscp but i wanted to know is there any command by which i can copy the file from Linux machine to windows machine.
Thursday, April 07 2016, 01:13 PM
Share this post:
Responses (5)
  • Accepted Answer

    Saturday, April 09 2016, 10:33 AM - #Permalink
    Resolved
    0 votes
    I used the method Dave suggested a lot. I'm just mounted a NAS SAMBA share on my ClearOS server. Works very well.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 08 2016, 02:36 PM - #Permalink
    Resolved
    0 votes
    If you have a share set up on your Windows workstation, you can use the smbclient command line process to copy things. You can even mount a share locally in Linux using the 'cifs' filesystem type:

    mount -t cifs -o username=<share user>,password=<share password> //WIN_PC_IP/<share name> /mnt
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 08 2016, 06:40 AM - #Permalink
    Resolved
    0 votes
    i simply use winscp for transfering files back and forth
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 08 2016, 02:04 AM - #Permalink
    Resolved
    0 votes
    Samba server on clearOS, thumb drive, ftp....
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 07 2016, 11:38 PM - #Permalink
    Resolved
    0 votes
    You must have some sort of daemon (or service) running on the windows machine that is listening and capable of file transfer if you want to start from the Linux end. Some examples...

    An active share on the windows machine and mount on the Linux m/c using cifs
    Run an ftp service on the windows machine
    Install cygwin and ssh on Windows and use the "scp" program
    Create a VPN between the two machines
    etc etc

    Each comes with its own unique set of network (such as port forwarding thru a NAT maybe) and security requirements...
    The reply is currently minimized Show
Your Reply