diff --git a/MobileDevice/iPhone.cs b/MobileDevice/iPhone.cs index 0cde831..ffaca1b 100644 --- a/MobileDevice/iPhone.cs +++ b/MobileDevice/iPhone.cs @@ -353,7 +353,7 @@ public unsafe string[] GetFiles(string path) MobileDevice.AFCDirectoryRead(hAFC, dir, ref buffer); while (buffer != null) { - if (!IsDirectory(path)) + if (!IsDirectory(string.Format("{0}/{1}", path, buffer))) { list.Add(buffer); }