Error Opening Local File Smbclient
Contents |
Fanless PC <-- SALE $200 each! Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic Pages: (2) </[1]2>/ [ Track this
Smb Error Opening Local File
topic :: Email this topic :: Print this topic ] Topic: smbclient get, file smbclient nt_status_object_name_invalid coping< Next Oldest | Next Newest > mssa426 Group: Members Posts: 5 Joined: April 2007 Posted: April 14 2007,22:46 I've got error opening local file ftp mput dsl on one machine, and windows 2000 on another, both on a network. I can connect to the win2000, via smbclient \\machinename\sharename -U username. I can move around via the command line. Coping files from
Smbclient Commands
win2000 to dsl fails, using get. I enter get filename.ext, result is "error opening local file filename.ext". If I enter get *.ext, result is "nt_status_object_name_invalid open remote file \temp\*.ext".I know linux can't write to a ntfs partition, but it can read/copy from. What am I doing wrong? Back to top ^thehatsrule^ Group: Members Posts: 3275 Joined: July 2006 Posted: April 15 2007,01:43 Quote I enter get filename.ext, result is
Smbclient Copy File
"error opening local file filename.ext"Looks like this is a local problem.. ie. on your DSL machine. Make sure you have write permissions on wherever you are saving the file to (and enough space).Quote If I enter get *.ext, result is "nt_status_object_name_invalid open remote file \temp\*.ext".Doesn't look like it accepts wildcards, so it attemps to find that file, which doesn't exist.Quote I know linux can't write to a ntfs partition, but it can read/copy from. What am I doing wrong?This doesn't have to do with your problem, unless you're trying to save the file to a ntfs partition. Note that your statement in general is wrong - linux can write to ntfs - but DSL by default only has read capability. Back to top mssa426 Group: Members Posts: 5 Joined: April 2007 Posted: April 15 2007,08:43 Hi,Thanks for the reply. Please forgive my ignorance. I'm a Linux newbie. The only area I'm having a tough time figuring out is network sharing. Once I get smbclient figured out, then I'll work on smbserver.I just assumed that "get" would copy the file to my dsl home ramdisk folder. If I just type "get filename.ext", where is dsl attempting to copy it? If I want "filename.ext" copied into the dsl home r
[-C] [-g] [-i scope] [-O
Smbclient Get
smbclient An ftp-like client to access SMB/CIFS resources on servers. Description smbclient is a client that is part of the Samba software suite. It communicates with a LAN Manager server, http://www.computerhope.com/unix/smbclien.htm offering an interface similar to that of the ftp program. Operations include things like getting files from the server to the local machine, putting files from the local machine to the server, retrieving directory information from the server and so on. smbclient syntax smbclient servicename [ password ] [ -A ] [ -E ] [ -L host ] [ -M host ] [ -I IP number error opening ] [ -N ] [ -P ] [ -U username ] [ -d debuglevel ] [ -l log basename ] [ -n netbios name ] [ -W workgroup ] [ -O socket options ] [ -p port number ] [ -c command string ] [ -T tar options ] [ -D initial directory ] Options servicename servicename is the name of the service you want to use error opening local on the server. A service name takes the form \\server\service where server is the netbios name of the LAN Manager server offering the desired service and service is the name of the service offered. So to connect to the service "printer" on the LAN Manager server "lanman", you would use the servicename \\lanman\printer. Note that the server name required isn't necessarily the hostname of the server. The name required is a LAN Manager server name, which may or may not be the same as the hostname of the machine running the server. password password is the password required to access the specified service on the specified server. If supplied, the -N option (suppress password prompt) is assumed. There is no default password. If no password is supplied on the command line (either here or using the -U option (see below)) and -N is not specified, the client will prompt for a password, even if the desired service does not require one. (If no password is required, simply press ENTER to provide a null password.) Note: Some servers (including OS/2 and Windows for Workgroups) insist on an uppercase password. Lowercase or mixed case passwords may be rejected by these s