Email or FTP workspaces as tar files (EXPORT)

Last Published: April 25, 2020


Instructions provided describe how to email or FTP workspaces as tar files (EXPORT)?


The following syntax creates a tar file of a workspace:

tar cvf -C

In the following example, the workspace is named "test"; the path to test is "/usr/home/test"; and the tar file is named "tarworkspace". The following syntax would be used:

cd /usr/home
tar cvf tarworkspace.tar -C test test

The tar file "tarworkspace.tar" contains all of the contents in the "test" workspace.

If FTP is being used to transport the file, set the transfer protocol to BINARY.

If the file is going to be e-mailed, the file needs to be uuencoded and may need to be compressed if the uuencoded file is larger than 1 Mb. This converts the tar file into an ASCII file that can be emailed. The syntax for uuencode in the above example is as follows:

Just uuencode:
uuencode tarworkspace.tar tarworkspace.tar > tarworkspace.uu

compress and uuencode:
compress tarworkspace.tar
uuencode tarworkspace.tar.Z tarworkspace.tar.Z > tarworkspace.uu

The tarworkspace.uu is ready to be emailed.


1. Do not use a full pathname when using tar. This would requires some directory structure at the destination site.

2. The extensions .tar and .uu are used to denote the format to the user. The .Z extension of compress is automatically applied.

Article ID:000001278

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options