SCP or SFTP in SSHServer - WeOnlyDo Discussion board

SCP or SFTP in SSHServer (General questions)

by John, Wednesday, October 07, 2009, 01:51 (5526 days ago)

We are considering using WodSSHServer on our win hosts as part of our config management strategy. We want to be able to push and pull files to the server, and WodSSHServer's documentation indicates this can be done.

Can you please post an example of how to push files to the Windows server? We can use scp or sftp, but the manual does not appear to describe exactly how to do this in Delphi.

-J

Re: SCP or SFTP in SSHServer

by wodSupport, Wednesday, October 07, 2009, 02:03 (5526 days ago) @ John

John,

hi. I'm no Delphi expert and I can't write you sample now - please send email to techsupport@weonlydo.com and they will prepare it for you.

In the meantime I can try to explain. All you need to do is put wodSSHServer on the form and start it. In ServiceRequest event http://www.weonlydo.com/SSHServer/Help/wodSSHDLIB~wodSSHD~ServiceRequest_EV.html make sure you allow the service - especially if it's stSubsystem or stScp type. That's more less all you need to do.

Can you try something like that?

Regards,
Kreso

Re: SCP or SFTP in SSHServer

by wodSupport, Wednesday, October 07, 2009, 02:04 (5526 days ago) @ wodSupport

BTW I just noticed there is Delphi7 sample provided with the server. Did you try it out? It is called 'SFTP Server', it may be what you need.

Kreso