Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    smbclient problems

    I'm about ready to put my fist through my monitor! Problem: I've connected to another computer over a local network using the smbclient app. I'm trying to us the "put" command to copy a folder from my computer to a shared folder on another. Here's what I'm typing:

    put /home/Comreak/linuxstuff

    I would normally think this would transfer the directory over to the shared directory on the remote computer, however, it gives me this error instead:

    "/home/Comreak/linuxstuff does not exist"

    I assure you, it exists. I can use the get command to copy files over from the remote computer. Why is put giving me so much trouble? How do I get this to work?

  2. #2

    I figured it out, but I have another question. Can the put command in the smbclient only transfer files? I had to tar/gzip the directory before i could use put. Thanks for any help ahead of time.

  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    If I were you, I'd mount the SMB share instead. If you really don't want to, however, try the mput and mget commands in smbclient.


Posting Permissions

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