Class RbVmomi::VIM::Datastore
In: lib/rbvmomi/vim/Datastore.rb
Parent: Object

@note download and upload require curl. If curl is not in your PATH

      then set the +CURL+ environment variable to point to it.

@todo Use an HTTP library instead of executing curl.

Methods

download   exists?   upload  

Constants

CURLBIN = ENV['CURL'] || "curl"

Public Instance methods

Download a file from this datastore. @param remote_path [String] Source path on the datastore. @param local_path [String] Destination path on the local machine. @return [void]

Check whether a file exists on this datastore. @param path [String] Path on the datastore.

Upload a file to this datastore. @param remote_path [String] Destination path on the datastore. @param local_path [String] Source path on the local machine. @return [void]

[Validate]