I am trying to open a socket, make the connection with user and password and then moving to the appropriate directory of the remote-server and execute an ls (LIST) command. Where i can store the result of the ls command? is there any way to store the filenames and directories?
Giorgos
#socket