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!