Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 -U dobson\\jbabcock%XXXXX -c 'cd "Common\AMA +_Reconcile\AMA_Transferred\";mget "CE_AMA_report_SMSC_200508220*"' added interface ip= bcast= nmask= 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):



Never moon a werewolf!

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2015-11-28 06:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls