I calling command
secureFTPConnection1.UploadFile(m_upload, m_name);
Where m_upload is the directory and m_name is the name of the file.
and I receive the error;
EnterpriseDT.Net.Ftp.FTPException
HResult=0x80131600
Message=Failed to open file 'C:\\AutoFiles\\AutoTemp\\AutoTemp'
Source=edtFTPnetPRO
StackTrace:
at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Put(String local, String remote, Boolean append)
at EnterpriseDT.Net.Ftp.FTPConnection.UploadFile(String localPath, String remoteFile, WriteMode writeMode)
at EnterpriseDT.Net.Ftp.ExFTPConnection.SyncUploadFile(String localPath, String remoteFile, WriteMode writeMode)
at EnterpriseDT.Net.Ftp.ExFTPConnection.UploadFile(String localPath, String remoteFile, Boolean append)
at EnterpriseDT.Net.Ftp.FTPConnection.UploadFile(String localPath, String remoteFile)