Results 1 to 20 of 20

Thread: [2005] Getting list of files from a folder (FTP) [Urgent :(]

Threaded View

  1. #1

    Thread Starter
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    [2005] Getting list of files from a folder (FTP) [Urgent :(]

    Hello!
    Im making a software for our Counter-Strike Source server.
    I'd like to get all map files (.bsp files) from the map folder using the servers ftp adress.

    I tried using this code:
    VB Code:
    1. Dim folder As New IO.DirectoryInfo(ftpAdress & "/srcds_l/cstrike/maps/")
    2.         Dim files As IO.FileInfo() = folder.GetFiles("*.bsp")

    But it gives me the error "The given path's format is not supported."

    So what should I do? Any suggestions?

    Thanks in advance.
    Last edited by Atheist; Apr 28th, 2006 at 05:08 PM.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width