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. Advertisements

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

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:
    1,144
    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:
    865
    [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,410
    GrantMagic
    Sep 13, 2004
  4. medvitz

    Listing files on network share

    medvitz, Oct 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    466
    Scott Allen
    Oct 22, 2004
  5. Replies:
    4
    Views:
    2,384
  6. Joel Barsotti

    Accessing Files on a Network Share

    Joel Barsotti, Oct 1, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    819
    Michael Nemtsev
    Oct 1, 2007
  7. Rajesh

    Access remote folder files in the network

    Rajesh, Oct 27, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    287
    Patrick Olurotimi Ige
    Dec 28, 2004
  8. Saraswati lakki
    Replies:
    0
    Views:
    1,693
    Saraswati lakki
    Jan 6, 2012
Loading...