Can somebody help me with the get command of ChannelSftp class?
I do not how I can use it, because not sure the order of parameters, the =
meaning of them and if the way to express is correct or not.
I show you the way I did.
String remotePath =3D ".\\tmp\\";
String localPath =3D "D:\\";
I got the SftpException "no such file".
I know that remotePath works, because I can make ls against ".\\tmp\\" =
and I get all files contents in that directory.
java.util.Vector vv =3D c.ls(remotePath);
Could somebody advice me about this trouble and as to solve it?
Aftersales Web CoC
EDS GM Global Programme Delivery, EMEA
Adress: Avda. Gomez Laguna 25=20
Zaragoza, SPAIN 50009
Phone: +34 976 76 71 34
This email contains information which is confidential and may be =
privileged. Unless you are the intended addressee (or authorised to =
receive for the addressee) you may not use, forward, copy or disclose to =
anyone this email or any information contained in this email. If you =
have received this email in error, please advise the sender by reply =
email immediately and delete this email.
+-From: "Artiaga, Miguel" <miguel.artiaga@...> --
|_Date: Fri, 12 May 2006 09:56:01 +0200 _____________
|String remotePath =3D ".\\tmp\\";
|String localPath =3D "D:\\";
|I got the SftpException "no such file".
|I know that remotePath works, because I can make ls against ".\\tmp\\"
|and I get all files contents in that directory.
|java.util.Vector vv =3D c.ls(remotePath);
Is ".\\tmp\\" really accepted? Is the remote sshd running on Windows?
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.