Example: Retrieving an object

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