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!

In reply to Re: Accessing files on a Windows server from *NIX via SMB by jimbus
in thread Accessing files on a Windows server from *NIX via SMB by jimbus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.