mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: SFTP problems
Date Mon, 10 May 2010 05:33:45 GMT
I think I've actually fixed the issue.  The problem is that in version 3,
the reply to SSH_FXP_REALPATH should always send back dummy attributes.

On Sun, May 9, 2010 at 16:15, Frank van der Kleij <kleij@hotmail.com> wrote:

>
> I was doing some tests and found a problem on uploading.
>
> When doing the upload REALPATH is called on the file that is about to be
> created, but in writeAttrs there is a check whether the file actually exists
> and an exception is thrown.
>
> When I remove the exception throwing in writeAttrs then all seems to work
> correctly, so that is the easy solution.
>
> I believe that in the specs it says that on REALPATH dummy attributes
> should be sent so that's an option too.
>
> Any preference?
>
> Frank
>
> PS: this is unrelated, but if getUnixDate would be public I could use it in
> my subclass...
>
>
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>



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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message