function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

RE: Migration using Ant Tool



I'm using the following package.xml snippet to retrieve email template from an organisation. The execution of "retrieveUnpackaged" command was successful and retrieved  retrieveUnpackaged\email\unfiled$public\ and retrieveUnpackaged\email\unfiled$public\ files. I then ran "deployUnpackaged" to deploy the downloaded email template and received this error:


Error: package.xml(unfiled$public):An object 'unfiled$public' of type EmailTemplate was named in package.xml, but was not found in zipped directory


<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="">


Any suggestions would be appreciated.




Ran into same problem.


Fix was to rempve the following line 




from the package.xml file, I guess it only likes files name and not directories in there...



Hope that helps!



Neil JamisonNeil Jamison
Dave's answer to remove the line <members>unfiled$public</members> worked for me too.
Jake Hebert 22Jake Hebert 22
Same for me as well. Just another observation, I am moving several folders which are all listed in the XML. For example:

Works just fine, but only the unfiled$public folder fails. Removed unfiled public folder and kept everything else the same - deployed just fine.