[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-tm-dev] Extending RSE
|
Hi Sheldon,
Usually telnet is used for terminal / shell like
connections only, but not for
browsing or transferring files.
My first recommendation to you would be to try and get some
sort of file
transfer protocol running on your target. There are really
really small
servers and agents available.
If that's not possible, but your target has some kind of
shell that supports
shell commands like "ls", "dir", "chdir", etc. you can
implement your own
remote file system browser through telnet, by mapping an
RSE IFileService
request like getFiles() by executing such remote shell
commands, parsing
the ASCII output and returning IHostFile instances as
needed.
You'd still have a hard time transferring binary files,
though, because the
telnet protocol cannot easily transfer binary data (so when
you do e.g.
"cat remoteFile" in order to transfer it to local, this
would be unreliable
for binary files). You could try and get around this by
running a program
like uuencode / uudecode on the remote side, or having an
xyzmodem
I hope that helps, and I'm looking forward to hearing about
your
progress...
Cheers,
--
Martin Oberhuber
Wind River Systems,
Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Hi
Martin,
I am currently using SSH as a blue print for creating the telnet service as
you said, but i have come across a problem. In the SSH there is a File service
implementation for SFTP, but the targets which i will be connecting to are not
going to support protocols like FTP, TFP . So is it possible for me to have
RSE for the target where a user can browse the entire target file system using
telnet without a file transfer protocol, because i guess protocols like FTP
are only used for various operations on files.
Regards,
Sheldon
On 2/6/07, Oberhuber,
Martin <Martin.Oberhuber@xxxxxxxxxxxxx
> wrote:
Hello
Sheldon,
A Telnet
connector service / shell subsystem does not exist yet.
You can
basically take the org.eclipse.rse.*.ssh as blueprint for doing
it,
and
replace the ssh service (based on Jsch) by a Telnet
implementation.
For a
telnet implementation, you can choose from Jakarta Commons
Net
(which
is already part of RSE), and the implementation in
org.eclipse.tm.terminal/src/org.eclipse.tm.terminal.internal.telnet
(which
is discouraged API so I'd rather recommend Commons Net).
When you
come up with a telnet connector for RSE, we'd appreciate
if you
could contribute it under EPL!
Thanks,
--
Martin Oberhuber
Wind River
Systems, Inc.
Target Management Project Lead, DSDP PMC
Member
http://www.eclipse.org/dsdp/tm
Hi,
I have tried RSE ant it works well for protocols like FTP and SSH. I would
like to use Telnet as the underline subsystem does it exist or do i have
to extend RSE to support
telnet.
If so how do i exyend RSE to support Telnet protocol?
Regards,
Sheldon
_______________________________________________
dsdp-tm-dev
mailing list
dsdp-tm-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev