I only tried with the basic scp command from my mac.  There may be
compatibilities problems and it has not been extensively tested.

On Sat, Aug 8, 2009 at 16:18, Frank van der Kleij<[email protected]> wrote:
>
> I am trying to write my own implementation of the ScpCommand using Apache VFS 
> FileObject io File, but I have several issues. Is anyone using the ScpCommand?
>
> I copied the original and just patched it where needed so the problems I have 
> are likely to exist in the normal ScpCommand too.
>
> I am probably doing something wrong but I noticed the following:
> 1. The last element of the command array is a newline character, but the 
> ScpCommand treats it as being the filepath. The sshd SshClient explicitly 
> puts a newline, the ScpCommandFactory splits at normal whitespace only. I 
> fixed it by looking at the element just before the last. Is it part of the 
> protocol?
> 2. The server hangs on readAck(). I know nothing of the protocol; is this a 
> server problem or should the client send an ack?
>
> Which scp clients are compatible? I am using the SshClient of the sshd 
> project. I tried WinScp but it wants to open a bash shell and does not seem 
> to use pure scp...
>
> Thanks
>
>
> _________________________________________________________________
> See all the ways you can stay connected to friends and family
> http://www.microsoft.com/windows/windowslive/default.aspx



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to