if I make this query /catalog/vms/{VMNAME}/vmRestorePoints/{ID}/guestfs/C:/Users/?action=listAll to get
all files and directory in C:/Users the xml response contains Path with '/' char
Code: Select all
<FileSystemEntries>
<Files>
<FileEntry>
<Path>C:/Users/desktop.ini</Path>
</FileEntry>
</Files>
<Directories>
<DirectoryEntry>
<Path>C:/Users/Administrator</Path>
</DirectoryEntry>
</Directories>
</FileSystemEntries>
Only if I make this query /catalog/vms/{VMNAME}/vmRestorePoints/{ID}/guestfs/C:/?action=listAll to get
all files and directory in C: then the xml response contains Path with '\' char instead of '/' char.
Example:
Code: Select all
<FileSystemEntries>
<Files>
<FileEntry>
<Path>C:\bootmgr</Path>
</FileEntry>
</Files>
<Directories>
<DirectoryEntry>
<Path>C:\Users</Path>
</DirectoryEntry>
</Directories>
</FileSystemEntries>
Thanks,
Mardock.