// Set protection buffer size (what does this do??)
//ftp.execPBSZ(0);
// Set data channel protection to private
System.out.println("ftp.execPROT(\"P\")");
ftp.execPROT("P");
String pathToDomainRoot = getPathToDomainRoot(ftp, connectionInfo);
String pathToDatasetDir = pathToDomainRoot + "/" + datasetId;
// if datasetId does not exist then create the directory