I have a local folder structure, from which I'm uploading files to a remote server using .Protocol = Protocol.Scp
I would like to maintain the local folder structure and just upload the files and delete them (the files, not the folders) when done.
I'm running a VB.NET console app, and my put files is the following :
transferResult = session.PutFiles("D:\remindererrors\", "remindererrors/", True, transferOptions)
I've tried several cominbinations of \, \* but it always seems to delete the local folders....Can anyone help with the correct syntax ?