Trying to put files on a Windows-openssh-server - WeOnlyDo Discussion board

Trying to put files on a Windows-openssh-server (General questions)

by SNAPE, Monday, June 21, 2004, 15:13 (7458 days ago)

Hello!

I want to exchange files with Windows/openssh, too, so i installed OpenSSH on Windows v3.4-2 (from networksimplicity) on a Windows2000 Machine.
This server show's me drive C: also as / and so file exchange is possible with this drive.
But i failed to put data for example on D: mp , although the GetAttribute-method works well.

Do you know something i can try?
THX!

Snape

Re: Trying to put files on a Windows-openssh-serve

by wodSupport, Monday, June 21, 2004, 15:23 (7458 days ago) @ SNAPE

Snape,

in almost all cases you need to prefix path with / - so instead of

c:/tmp

try /c:/tmp or something similar.

You can always get path by testing for RealPath( . ), but perhaps also RealPath( .. ) or even RealPath( ../.. ) so you can determine exactly how does server define directories.

Hope it helps.

Re: Trying to put files on a Windows-openssh-serve

by Snape, Tuesday, June 22, 2004, 08:44 (7457 days ago) @ wodSupport

It helps -
Thank you for your fast reply!

Bye,
Snape