API to copy guest Folder recursively

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
mVincent
Posts: 5
Joined: 24. Nov 2013, 20:10

API to copy guest Folder recursively

Post by mVincent »

Hi.
Apparently, copying is only possible(please correct me if i'm wrong) for single file/folder only, with complete file path or folder.
Changelog:
VirtualBox 4.1.2 (released 2011-08-15)
  • Guest control execution: implemented copying single files from guest to the host (directories and filters not supported yet).
and nothing up to the latest version changelog says recursive copying is implemented (or possible) thru VirtualBox WebService API.

My tentative solution for this is implement IGuestSession.openDirectory(), open the directories and build a tree of list of files per folder, before firing up
IGuestSession.copyFrom().

Just want to ask if anybody has done so - copy a folder(and contents) recursively using VirtualBox WebService API 4.3.2.
Thanks!
Post Reply