Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

vharvey

Never mind, figured it out. Bummer being a newbie again.
vharvey

New and clueless - setting up sftp

This isn't my normal programming area, I've got to establish SFTP transfers to several clients sites, and will be doing so through c# .net.

Please help me out here, in the following for setting up the SessionOptions,
HostName, userhame, password, SshHostKeyFingerprint: are those for company, or the clients?


SessionOptions sessionOptions = new SessionOptions
{
Protocol = Protocol.Sftp,
HostName = "example.com",
UserName = "user",
Password = "mypassword",
SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
};