Hello,
Can someone respond to this query, I really got stuck up on this issue.
Any help appreciated.
Thanks,
Muthu
Muthu Ramakrishnan <[EMAIL PROTECTED]> wrote: Hello,
Anybody having an idea about this issue? Looks like
there is some problem with encoding on the filename in
ChannelSftp. I am not an expert in encoding,so
couldn't comment on that.
Moreover I tried with the latest JSCH version 0.1.38
also and seeing the same issue.
Thanks,
Muthu.
--- Muthu Ramakrishnan
wrote:
> Hello,
>
> I am trying to use the SFTP channel over JSCH SSH
> session for file upload/download.
>
> My code is working fine (upload/download) in
> Linux-->Linux, Mac OS -->Mac OS. But I am seeing an
> issue with Windows ---> Linux machine file transfer.
>
> The file upload from Windows to Linux is working
> properly. When I try to download from the the Linux
> to
> Windows using the method
> get(f.toString(),localFile.toString(),monitor)of
> ChannelSftp.java, I get an error "2: No Such File"
> eventhough the source file exists and having the
> appropriate permission.
>
> And one more thing I noted is, when provide the
> filename(which is placed under home directory) alone
> as a input to get() method, it works fine. In this
> case ChannelSftp.java appends the home directory in
> front of the file name and doing the download.
>
> I am trying in windows xp machine with jdk 1.6.0_03.
>
> Any help is appreciated. I am required urgent help
> on
> this.
>
> Thanks in advance.
> Muthu R.
>
>
>
>
____________________________________________________________________________________
> Be a better friend, newshound, and
> know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users