How do you list files on a network share folder?

Discussion in 'Ruby' started by George, Sep 15, 2009.

  1. George

    George Guest

    Hi there,

    I'm using this syntax to fetch files: Dir[ folderPath + "*.jpg" ].sort
    ()

    It works in a local folder but not with a folder on another machine.
    How would I access "smb://selfs01/images/" ?
    (I'm running ruby on a mac)

    Many thanks
    George
     
    George, Sep 15, 2009
    #1
    1. Advertising

  2. Robert Klemme, Sep 15, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. flat_ross
    Replies:
    2
    Views:
    979
    Steve C. Orr [MVP, MCSD]
    May 28, 2004
  2. =?Utf-8?B?QVNQLk5FVCBVc2Vy?=

    Running Virtual Folder on Network Share with a different user

    =?Utf-8?B?QVNQLk5FVCBVc2Vy?=, May 31, 2004, in forum: ASP .Net
    Replies:
    11
    Views:
    677
    [MSFT]
    Jul 2, 2004
  3. Andrew Shitov

    How to access a network share folder?

    Andrew Shitov, Sep 13, 2004, in forum: ASP .Net
    Replies:
    9
    Views:
    23,121
    GrantMagic
    Sep 13, 2004
  4. Replies:
    4
    Views:
    2,170
  5. Saraswati lakki
    Replies:
    0
    Views:
    1,389
    Saraswati lakki
    Jan 6, 2012
Loading...

Share This Page