directory

  1. nineclicks

    SearchOption.AllDirectories Acees to path is denied.

    For Each str As String In Directory.GetFiles(folder, "*.*", SearchOption.AllDirectories) Dim fi As FileInfo = New FileInfo(str) If fi.Extension = ".ini" Then Else fileList.Add(str) End If Next I'm...
  2. J

    Answered Copying an entire directory to an FTP server

    Hi,Does anyone here know of a way to copy an entire directory (with sub-folders and files) to an FTP server? The WebClient and FTPWebRequest classes didn't seem to work, is there another way or am I missing something?Thanks-Josh
  3. G

    Question Directory/Folder/File Searching recursive?

    I am extremely new to programming and need some serious help. I took some VB classes in high school, some Java in college and have messed around with macros, that is my extent of previous knowledge. Long story short, I have an internship where the learning involved is mostly self taught. I've...
  4. J

    Question Counting Parent Directories in the DirectoryInfo Class

    Does anyone know if it's possible to iterate through every parent of a specified subdirectory until you reach the directory's root so that I can count the number of parents? I'm new to System.IO, but I have'nt seen any included counting functions.
  5. icemanind

    Changing Directories

    I am writing a console application and I am trying to change directories. I am using Directory.SetCurrentDirectory() method and its changing directories just find. The problem is, however, when my application exits, it sets the current directory back to where I was. I also tried importing the...
Top Bottom