LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2007, 11:40 PM   #1
s1ddh4rta
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Smbclient cannot use Mget & Mput


Dear All,

i use smbclient. after logging in into smb prompt i can use mkdir command in windows share, but why i cannot use mget & mput, no error message appear. i type help in smb prompt, there is no put & get command, there's only mget & mput. but why i can not use it...?
please enlightent me....

many thanks in advance.

S1D
 
Old 08-17-2007, 10:06 AM   #2
michaelsr
Member
 
Registered: Jan 2005
Location: Berkshire, UK
Distribution: Fedora Core 7, 8
Posts: 38

Rep: Reputation: 15
Hi mput and mget are FTP commands. Samba just allows you to look at a directory/folder as though it were on the machine you are using. You are mixing up commands and connections.

Hope this helps,

Michael.
 
Old 08-19-2007, 09:37 PM   #3
s1ddh4rta
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
so, you meant i can not download and upload file with smbclient command?
how about the "put" & "get" command? i read in other books, they use put & get, but even those commands isn't available when i typed "help" in smbclient prompt, i had only got mput and mget.

need explanation here....

thanks in advance man...
 
Old 08-19-2007, 10:22 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415

Rep: Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785Reputation: 2785
As he said, you are confusing a connection tool (ftp) that uses (m)put/(m(get) with a remote mounting tool ie Samba, which makes the remote disk appear to be locally mounted, so you just use the usual 'cp' cmd.
I believe the MS equiv is Network Neighbourhood (?)
Samba is similar to NFS, except it uses an MS protocol (CIFS)
 
Old 03-06-2009, 08:25 AM   #5
bartoni
LQ Newbie
 
Registered: Dec 2005
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
As he said, you are confusing a connection tool (ftp) that uses (m)put/(m(get) with a remote mounting tool ie Samba, which makes the remote disk appear to be locally mounted, so you just use the usual 'cp' cmd.
I believe the MS equiv is Network Neighbourhood (?)
Samba is similar to NFS, except it uses an MS protocol (CIFS)

Actually, I think its you that's confusing samba with smbclient (pretty much an ftplike samba... er client!)

I'm having the exact same problems with it. I can connect to my samba share ok, dir works but cannot use mput, lcd also doesn't seem to report local directory either. Can anyone help
 
  


Reply

Tags
smbclient


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp with mput tijo.thomas Linux - Software 1 03-06-2006 12:42 AM
Cannot mput/mget/ls in a ftp server ... But can login to it!!!! tuxfood Linux - Networking 1 12-03-2005 08:11 PM
mput all in ftp snoble Linux - Software 0 11-02-2004 05:36 PM
Why we use bin before mget and mput during ftp indian Linux - General 1 09-04-2004 12:14 PM
smbclient mput quiet mode? jess_wundring Linux - General 1 10-29-2002 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration