Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Accessing files on a Windows server from *NIX via SMB

by jimbus (Friar)
on Aug 22, 2005 at 20:36 UTC ( #485765=note: print w/ replies, xml ) Need Help??


in reply to Accessing files on a Windows server from *NIX via SMB

Thanks to all for your replies!

I've managed to download a file from the command line, but I don't appear to be able to use wild cards... which is an issue. This may be because of security configurations on the windows box as I can't ls beyond the base directory, either.

The file names have a base of CE_AMA_SMSC_ followed by YYYYMMDD then eight digits that I can't seem to rhyme or reason of and then the extension. If I could use a wildcard, I'd be fine, but they are giving me fits.

Anyone have an idea why the following is failing?

[reports@clarkkent]/home/reports/reconcile(154): smbclient //oh-youn-f +2.dobson.net/engineering -U dobson\\jbabcock%XXXXX -c 'cd "Common\AMA +_Reconcile\AMA_Transferred\";mget "CE_AMA_report_SMSC_200508220*"' added interface ip=10.32.16.38 bcast=10.32.16.255 nmask=255.255.255.0 session request to OH-YOUN-F2.DOBS failed (Called name not present) Domain=[DOBSON] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] code 0 listing \Common\AMA_Reconcile\AMA_Transferred\CE_AMA_report_SMS +C_200508220* [reports@clarkkent]/home/reports/reconcile(155):

Thanks

Jimbus

Never moon a werewolf!


Comment on Re: Accessing files on a Windows server from *NIX via SMB
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://485765]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2014-12-29 05:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls