uploadArchives task implementation