This project is read-only.

Scp Upload, remote file quotes...

Dec 5, 2013 at 1:17 PM
Edited Dec 5, 2013 at 1:22 PM
Hi All,

Trying to use ScpClient,

filename - stringing full file path/name
               ScpClient scpClient = new ScpClient(host, username, password);
               scpClient.Upload(File.OpenRead(fileName), Path.GetFileName(fileName));
and got "filename" (with quotes) on remote device

trying ScpClient.Upload(FileInfo, String) method - uploaded file size not equals original and have quotes too.

device - RouterOS, (