Hi Sir,
I know that SFTP is different from FTP, the way it works and everything. However I want to use SFTP to create a directory on the server and upload a file to that directory. Example: SFTP Server path is Statements/Personal. In Personal I want to create directory "03-2017". In directory "03-2017" I want to upload file "test.txt". Let's assume I established the connection already...what would be the code to achieve this please since I cannot change directory to the newly created "03-2017" folder and this is dynamically created?
Thanks, Justin
You would call sftp.CreateDir("Statements/Personal/03-2017") to create the "03-2017" directory in "Statements/Personal".