Java Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJava Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old April 7th, 2004, 09:52 AM
nimble nimble is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 nimble User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
TFTP client program in java

Hi
I wonder if anybody could help me.I am writing simple TFTP client in java using UDP Socket programming.I am struggling with how to write "Acknowlodgement datagram packet".
This is a simple client program whose only function is to retrive requested file from TFTP server and store in that file in the local file.If any body give me the whole code for the client progam it will be appreciated.
Thank You
Rafi

Reply With Quote
  #2  
Old April 15th, 2004, 05:50 AM
erezon erezon is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 erezon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Rafi,

I also need the same program for my project,so
if you get any reply please notify me.

thaks

Reply With Quote
  #3  
Old April 25th, 2004, 12:30 PM
athenea000 athenea000 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Posts: 1 athenea000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy I'm looking for it too!!

I'm Spanish, so my English is a little bad. I need a TFTP
client implemented in Java too. I anybody tell you how
obtain it write me to athenea000@yahoo.es. If I don't
get it I'd have to write the code, and it's so long... URL
Thanks,
Ana

Reply With Quote
  #4  
Old December 12th, 2004, 04:16 AM
munindra munindra is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 munindra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
regarding to tftp

hi
I need a help upon this,
Trivial File Transfer Protocol (TFTP) server using the Java programming language. TFTP is described in RFC1350. Your solution need only implement raw binary mode (Octet mode).
i need it as soon as possible.
if anyone know, plz mail it to me to :muninelapati@yahoo.co.in

Last edited by munindra : December 12th, 2004 at 04:29 AM. Reason: for mail id

Reply With Quote
  #5  
Old December 12th, 2004, 04:26 AM
munindra munindra is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 munindra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
tftp

hi
could u help me
i would like to have help for hti stopic
Trivial File Transfer Protocol (TFTP) server using the Java programming language. TFTP is described in RFC1350. Your solution need only implement raw binary mode (Octet mode).

Reply With Quote
  #6  
Old December 14th, 2004, 10:22 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 18
my solution, or your solution?

Try posting some code of your own attempts and we'll try our best to help you.

Reply With Quote
  #7  
Old December 14th, 2004, 11:22 AM
munindra munindra is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 3 munindra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
plz help

it's my solution sorry for that, we had tried but we ro not getting, can u help we require it urgent
so can u help us

tanks for u reply, plz mail if u can muninelapati@yahoo.co.in
#ifndef TFTPSERVER_H
00020 #define TFTPSERVER_H
00021
00022 #include "tftp.h"
00023
00024 #include <qobject.h>
00025 #include <qsocketdevice.h>
00026
00027 class QSocketNotifier;
00028
00029 namespace TFTP {
00036 class Server : public QObject
00037 {
00038 Q_OBJECT
00039 public:
00040 Server(const QHostAddress &addr, uint16_t port = defaultPort);
00041 ~Server();
00042
00043 protected slots:
00044 void dataReceived();
00045
00046 protected:
00047 class WriteSession;
00048 class ReadSession;
00049 static QValueList<WriteSession*> writes;
00051 static QValueList<ReadSession*> reads;
00053
00054 static WriteSession *findWSession(const TransferInfo &ti);
00055 static ReadSession *findRSession(const TransferInfo &ti);
00056
00057 QSocketDevice sd;
00058 QSocketNotifier *sn;
00059 };
00060
00061 };
00062
00063 #endif


#ifndef TFTPCLIENT_H
00020 #define TFTPCLIENT_H
00021
00022 #include "tftp.h"
00023
00024 #include <qobject.h>
00025 #include <qsocketdevice.h>
00026
00027 class QSocketNotifier;
00028
00029 namespace TFTP {
00030
00037 class Client : public QObject
00038 {
00039 Q_OBJECT
00040 public:
00041 Client(const QHostAddress &addr, uint16_t port = defaultPort);
00042 ~Client();
00043
00044 void putFile(const QString &localname, const QString &remotename, Mode trmode = Octet);
00045 void getFile(const QString &localname, const QString &remotename, Mode trmode = Octet);
00046
00047 protected slots:
00048 void dataReceived();
00049
00050 protected:
00051 class WriteSession;
00052 class ReadSession;
00053 QValueList<WriteSession*> writes;
00055 QValueList<ReadSession*> reads;
00057
00058 WriteSession *findWSession(const TransferInfo &ti);
00059 ReadSession *findRSession(const TransferInfo &ti);
00060
00061 QSocketDevice sd;
00062 QSocketNotifier *sn;
00063
00064 };
00065
00066 };
00067
00068 #endif
THis how i tried , plz help it's very urgent

Last edited by munindra : December 14th, 2004 at 03:52 PM. Reason: wrting the code i had tried

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJava Development > TFTP client program in java


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap