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")

Trademarks and Legal Disclaimer

© 2017 Hitachi Data Systems Corporation. All rights reserved.