Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz 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 topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: smbclient get, file coping< Next Oldest | Next Newest >
mssa426 Offline





Group: Members
Posts: 5
Joined: April 2007
Posted: April 14 2007,22:46 QUOTE

I've got 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 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
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 15 2007,01:43 QUOTE

Quote
I enter get filename.ext, result is "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
Profile PM 
mssa426 Offline





Group: Members
Posts: 5
Joined: April 2007
Posted: April 15 2007,08:43 QUOTE

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 ramdisk folder, what would the command be?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: April 15 2007,18:19 QUOTE

I suppose you could "cd ~" before running smbclient or try "get file.ext <save_to_this>"

But personally I prefer smbmount via lineighborhood.
Back to top
Profile PM 
mssa426 Offline





Group: Members
Posts: 5
Joined: April 2007
Posted: April 16 2007,19:38 QUOTE

Hi,

Thanks for the reply. I took your suggestion and used samba server, and mounted the share. With Midnight Commander I can access all of the win2000 shared folders. Next question. How do I get the win200 to access all the dsl shared folders? I don't see an obvious way to change the dsl workgroup name, so win2000 can see it in "My Network Places".
Back to top
Profile PM 
5 replies since April 14 2007,22:46 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: smbclient get

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code