How can I transfer data from or to a Windows server?

1 answer

  1.  
    1
    0
    -1

    The smbclient program is available on lilac and luna cluster login nodes, including lilac.mskcc.org, pearl/flame/swan, selene.mskcc.org, and luna.mskcc.org. You can use it to access SMB servers such as bic.mskcc.org, skimcs.mskcc.org, and pskis shares. The manual page is available online: https://www.samba.org/samba/docs/current/man-html/smbclient.1.html

    You can log into a server with your MSKCC Active Directory (Exchange) account – note that this is separate than your HPC account, and may have a different username and/or password. smbclient syntax looks like:

    smbclient //bic.mskcc.org/SHARENAME -W mskcc -U USERNAME
    

    This will prompt for your MSKCC password and connect. Note that we are working on a problem with bic.mskcc.org authentication in February 2018, so if you have trouble logging into bic, you can create an HPC ticket http://hpc.mskcc.org/contact-us/ for assistance. But in general we do not manage SMB servers, so if you have trouble with skimcs or pskis servers, please contact the respective system administrators.

    Once you are connected smbclient provides an FTP-style command line, including commands such as get & put, recurse/mget/mput, cd/pwd/lcd (local cd).

    pepper@sol:~> smbclient //bic.mskcc.org/sambatest -W mskcc -U pepperc
    Enter pepperc's password: 
    Domain=[MSKCC] OS=[Windows 6.1] Server=[Samba 4.2.10]
    smb: \> ls
      .                                   D        0  Tue Dec 12 15:56:10 2017
      ..                                  D        0  Wed May 17 10:40:08 2017
      README.txt                          A       26  Tue Dec 12 15:55:58 2017
      file                                A        0  Wed May 17 10:57:56 2017
    
    39872 blocks of size 4194304. 37617 blocks available
    smb: \> 
      CommentAdd your comment...