LinuxQuestions.org
Visit Jeremy's Blog.
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
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
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


All times are GMT -5. The time now is 03:36 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration