• Post Reply Bookmark Topic Watch Topic
  • New Topic

TelnetInputStream and FTP

 
Allen Chan
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I want to write a java class to do ftp, I use TelnetInputStream, but that class only offer a get method, I am trying to find out how can I do "mget", I cannot find the documentation for TelnetInputStream, it does offer a list method which you can get the dir info, but thatis terrible to parse and to start from there, any ideas how to use TelnetInputStream or other class to do this?
Thanks
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Allen
do u wont a ftp client i wrote myself in java? its very easy tho...
i've not used TelnetInputStream and those things so i am not sure of issues there...
i can send u jar file w/ source/docs if u want...
regards
maulin
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
btw,
i implemented mput, mget, get, put, pwd, list all those things...
regards
maulin
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Moderators,
i got following error first time i tried to post the above response...
-------------------------------------------------
Sorry, UBB has encountered an unexpected, fatal error. This error is extremely abnormal. Please contact the board administration. The error text is:
/home/vhost1/saloon.javaranch.com/vroot/html/ubb/Forum33/forum_33.threads: Expected to write out 238674 bytes, but file on disk is only !]
Here is the backtrace:
Backtrace: ubb_lib_filehandle.cgi:185 -> sub UBB::FileHandle::tracer
Backtrace: ubb_lib_filehandler.cgi:132 -> sub UBB::FileHandle::close
Backtrace: ubb_lib_files.cgi:411 -> sub UBB::FileHandler::close
Backtrace: ubb_lib_files.cgi:65 -> sub main::WriteHashToFile
Backtrace: ubb_lib_posting.cgi:145 -> sub main::UpdateForumTopics
Backtrace: ubb_new_reply.cgi:469 -> sub main::update_forum_summary
Backtrace: ultimatebb.cgi:645 -> sub main::submit_new_reply
� Please use your browser's back button to return.
-------------------------------------------------
thanks
maulin
**********************************************
Maulin - thanks for the notice. We have logged such messages once in a while ever since the last upgrade of UBB. No known cause. We will log this event and use it to help the vendor figure out the bug in the system.
Thanks - Cindy Glass - Sheriff
***********************************************
[ July 25, 2003: Message edited by: Cindy Glass ]
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Maulin.
I'm moving this to The Sockets and Internet Protocols Forum...
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Allen
u r email address bounced back. plz send again.
regards
maulin
 
Abdul Basit
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
Allen i don't know which TelnetInputStream class u r talking about .there is no TelnetInputStream class in java doc
If it is so plz mention the package.
Thanks
Hi Maulin
i wana to to create some thing like ftp client so plz can u send me the jar file
thanks
 
Abdul Basit
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ooohh
u r talking about sun.net.TelnetInputStream . ok
But i still need a package which help me in ftp client.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!