TransferProgressObserver progressObserver )
{
assertObjectBelongsToStore( file );
if ( !file.getParentDirectory( ).existsInStore( ) )
{
throw new DirectoryDoesNotExistException(
"Error copying file '"
+ file.getPath( ).getAbsolutePath( )
+ "'. The parent directory of this file does not exist in the store. "
+ "Please create the directory "
+ file.getParentDirectory( ).getPath( )