diff --git a/sstp/clientsocketsender.cpp b/sstp/clientsocketsender.cpp index 60cbdfc..47bb289 100644 --- a/sstp/clientsocketsender.cpp +++ b/sstp/clientsocketsender.cpp @@ -70,7 +70,7 @@ bool ClientSocketSender::sendFile(String &pathFileName) sendPutIndicator(pathFileName, fileLength); Array readBuffer; readBuffer.size(BUFFER_LENGTH); - std::cout << "Sending file " << pathFileName << Utility::byteCountToString(fileLength, false) << std::endl; + std::cout << "Sending file " << pathFileName << " " << Utility::byteCountToString(fileLength, false) << std::endl; while(true) { size_t bytesRead = readFile.read(&readBuffer[0], readBuffer.size()); diff --git a/sstp/main.cpp b/sstp/main.cpp index 460ff45..f1e1c41 100644 --- a/sstp/main.cpp +++ b/sstp/main.cpp @@ -11,6 +11,8 @@ // To Clean: From the top menu choose "View", "Command Palette", Then choose CMake: Clean OR /usr/bin/cmake --build /home/pi/CPP/sstp/build --config Debug --target clean -- // To Build: From the top menu choose "View", "Command Palette", Then choose CMake: Build OR /usr/bin/cmake --build /home/pi/CPP/sstp/build --config Debug --target all -- // Output will be here. /home/pi/CPP/sstp/build +// On Isonoe to receive we will point to the binaries here /home/pi/CPP/sstp/build +// On Adrastea we will point to the binaries here /home/pi/Boneyard/sstp bool registerSignalHandler(void); // registers a Control-c handler void signalHandler(int signal); // The Control-C handler @@ -25,7 +27,7 @@ int main(int argc, char **argv) { int returnCode(0); Profiler profiler; - String version = "1.0.0.7"; // major version, minor version, patch, build + String version = "1.0.0.8"; // major version, minor version, patch, build std::cout << "sstp version " << version.str() << std::endl; if(!registerSignalHandler()) diff --git a/sstp/socketconnectionreceiver.cpp b/sstp/socketconnectionreceiver.cpp index 653ff1f..77365a4 100644 --- a/sstp/socketconnectionreceiver.cpp +++ b/sstp/socketconnectionreceiver.cpp @@ -97,7 +97,7 @@ bool SocketConnectionReceiver::handlePut(Block &commands) fileName = commands[1]; fileLength = commands[commands.size()-1].toLong(); - std::cout << "PUT" << " " << fileName << " " << Utility::byteCountToString(fileLength) << std::endl; + std::cout << "PUT" << " " << fileName << " " << Utility::byteCountToString(fileLength,false) << std::endl; availableDiskSpace=Utility::getAvailableDiskSpace(String("./")); std::cout << Utility::byteCountToString(availableDiskSpace,false) << " available space on disk" << std::endl;