Transfer Files (Data Management)


Transfers files between a file system and a cloud storage workspace.


  • This tool supports hosted image products in the cloud.

  • The tool does not support file transfers to or from geodatabases.

  • When the tool is run in a server context, such as a published geoprocessing service, it can accept the data store's relative path, for example, /cloudStores/s3cloudstore/datafolder.

Syntax, output_folder, {file_filter})
ParameterExplanationData Type

The list of input files or folders that will be copied to the output folder. The path can be a file system path or cloud storage path where the .acs file can be used.

Raster Dataset; File; Folder

The output folder path where the files will be copied.


A file pattern filter that will limit the number of files that need to be copied, such as .tif, .crf, and similar image file types.


Derived Output

NameExplanationData Type

The output raster dataset.


Code sample

TransferFiles example 1 (Python window)

This is a Python sample for TransferFiles.

import arcpy

#Transfer individual files
arcpy.TransferFiles_management(r"c:\test\raster.tif;c:\test\raster2.tif", r"c:\cloudstore\azurecloud.acsazfolder")
TransferFiles example 2 (stand-alone script)

This is a Python script sample for TransferFiles.

#Transfer files
'''Usage: TransferFiles_management(inputpaths;inputpaths..., outputfolder, {filefilter})'''

import arcpy

#Transfer folder of files with filter
input_folder = "c:\\test\\uploaddata"
output_foler = "c:\\clouconnection\\s3cloudstore.acs\\s3folder"
filter = "*.tif"

arcpy.TransferFiles_management(input_folder, output_foler, filter)

Licensing information

  • Basic: No
  • Standard: No
  • Advanced: Yes

Related topics