Hello all, I'm working on a honeypot with a server/client TCP and I've run into a problem processing the CD command. When I run the program to test my CD function, parameter char command[ 2048 ] will be "cd .. " to move up 1 level in the directory, but when I call the system to create a txt file from which to save the contents I still get the directory I began with and not the new directory.
If it's not enough code to decipher let me know, don't want to crowd the thread.