ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu: SMB Client Get Command

    IT Discussion
    2
    8
    952
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrx7mW
      wrx7m
      last edited by

      I am trying to manually install the Pertino client on a fresh Ubuntu 15.10 VM. I am trying to copy over the installer for the pertino client from a Windows Server share and since I am pretty green when it comes to Linux, I am not sure of some very basic commands in how to do it.

      I am using the smb client to connect to the share, then using get to download the file to the Ubuntu server. However, I do not know where the file ends up. I checked the /tmp directory but it is not there. After connecting to the share I am running:

      get pertino_520.4587-1_amd64.deb

      I see the progress and speed of transfer. Is there an option to add the destination to the get command? Is there a better way to do this?

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        In general, the easy thing to do is grab WinSCP or Filezilla on Windows and just push the file that way. Super, duper simple. If you are doing files all day, definitely take the time to set up SMB/CIFS shares for Linux, if it is just one or two files now and then, use Filezilla and keep things simple.

        1 Reply Last reply Reply Quote 1
        • wrx7mW
          wrx7m
          last edited by

          Thanks for the tips. I would also like to learn how to do it from the Linux side (I am working through your learning linux series). Would you know where the file ends up if you just use the get filename command?

          scottalanmillerS 1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @wrx7m
            last edited by

            @wrx7m said:

            Thanks for the tips. I would also like to learn how to do it from the Linux side (I am working through your learning linux series). Would you know where the file ends up if you just use the get filename command?

            Likely it ends up "where you are." But I've never used the get command so can't say.

            1 Reply Last reply Reply Quote 1
            • wrx7mW
              wrx7m
              last edited by

              Ah. So if I use filezilla, I would have to enable FTP on the Ubuntu server?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @wrx7m
                last edited by

                @wrx7m said:

                Ah. So if I use filezilla, I would have to enable FTP on the Ubuntu server?

                No, no one uses FTP 🙂

                SFTP is not related to FTP and uses SSH. Just install Filezilla and away you go. Use SFTP and it should work transparently. It will look basically like Windows Explorer.

                wrx7mW 1 Reply Last reply Reply Quote 1
                • wrx7mW
                  wrx7m @scottalanmiller
                  last edited by

                  @scottalanmiller My bad, I was thinking of SFTP but I get your point 🙂

                  1 Reply Last reply Reply Quote 0
                  • wrx7mW
                    wrx7m
                    last edited by

                    So I did that and found the pertino client file was already in the root directory from when I ran the smb client get command. Ha! Thanks again!

                    1 Reply Last reply Reply Quote 2
                    • 1 / 1
                    • First post
                      Last post