#include <fstream>
#include <sstream>
#include <string>
-#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
tempOutputFile.flush();
tempOutputFile.close();
- BATCH_CHMOD(TmpFileName.c_str(), 0x1ED);
+ Utils::chmod(TmpFileName.c_str(), 0x1ED);
cerr << "Batch script file generated is: " << TmpFileName.c_str() << endl;
int status = _protocol.copyFile(TmpFileName, "", "",