// thisFile.valueOf(emptyChar).replaceAll("\\p{C}",
// "?");
try {
ArchiveTransferManager atm = new ArchiveTransferManager(
client, credentials);
String fileLength = Long
.toString(uploadFileBatch[i]
.length());
uw.setTitle("(" + (i + 1) + "/"
+ uploadFileBatch.length + ")"
+ " Uploading: " + thisFile);
UploadResult result = atm.upload(vaultName,
cleanFile, uploadFileBatch[i]);
uw.addToLog("Done: " + thisFile + "\n");
uploadedSize += uploadFileBatch[i].length();