Hello Guys,
I having issues trying to invoke the command chmtime using a SecureFTPConnection object.
? If a use the InvokeFTPCommand method I got the error message: ?Method/property not valid for SFTP?
SecureFTPConnection ftpConnection;
.
.
.
string[] parameters = new string[2];
[0] = "<time_stamp>";
[1] = "<file_Path>";
reply = ftpConnection.InvokeFTPCommand("chmtime ", parameters);
? If a use the InvokeCommandSSH method I got the error message: 'chmtime' is not recognized as an internal or external command, operable program or batch file.
SecureFTPConnection ftpConnection;
.
.
.
string[] parameters = new string[2];
parameters[0] = "<time_stamp>";
parameters[1] = "<file_Path>";
string reply = ftpConnection.InvokeCommandSSH("chmtime ", parameters);
So my questions are: What method should I use invoke the command chmtime? And could you please provide me a code example?
Thanks in advance!