HCP Tenant Management Help


Example 3: Retrieving an object (CIFS)

This example retrieves the object named wind.jpg from the namespace and stores the resulting file with the same name in the existing RetrievedFiles directory.

Windows command

copy x:\images\wind.jpg RetrievedFiles

Python code

import shutil
shutil.copy("x:\\images\\wind.jpg", "RetrievedFiles\\wind.jpg")

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.