Exact match. Not showing close matches.
PICList
Thread
'[PIC] FTP-client'
2006\01\18@131737
by
Tomas Larsson
I am looking for a freware FTP-client that I can use to debug an embedded
FTP-Server.
I find ftp-clients such as WS_DTP and the command-line client in XP not
useful.
What I need is a tool tha shows me all comm between the client and the
server including low-level comm.
Sofar they just throw an "unknown error", and I cant find out why.
When I am looking on a the packet received from the server, it looks ok, but
there is no response from the client, after the first server ACK.
Anyone that has any ideas.
With best regards
Tomas Larsson
Sweden
http://www.naks.mine.nu for downloads etc.
ftp://ktl.mine.nu for uploads. Or use the free http://www.yousendit.com service.
Verus Amicus Est Tamquam Alter Idem
2006\01\18@132448
by
Alex Harford
2006\01\18@133026
by
Charles Craft
Are you watching both the command (21) and data (20) ports for ftp traffic?
Most network gear supports tftp for data transfer. Is that an option on your embedded FTP-server?
{Original Message removed}
2006\01\18@133411
by
Danny Sauer
Tomas wrote regarding '[PIC] FTP-client' on Wed, Jan 18 at 12:20:
> When I am looking on a the packet received from the server, it looks ok, but
> there is no response from the client, after the first server ACK.
While I really like filezilla for an FTP client, what you want is an
arbitrary FTP client in combination with a packet sniffer. Get
ethereal. http://www.ethereal.com/ You'll need pcap as well, but
that's docuemnted on the ethereal site somewhere. No sane FTP client
will do what you really want to do here, wheras Ethereal will both
show you the individual bits on the network and an assembled FTP
stream. And it'll help diagnose most any other network trouble, too.
Oh yeah, it's free, too. Darned hippie free software punks. ;)
--Danny
2006\01\18@133750
by
Jon Philpott
Tomas Larsson wrote:
>What I need is a tool tha shows me all comm between the client and the
>server including low-level comm.
>
>
Try using those tools and using ethereal to sniff the traffic. Ethereal
has very good protocol analysis for most common protocols.
Jon.
2006\01\18@134454
by
John Pfaff
FileZilla is open source. If you want, you can modify it to give you
what you want.
http://filezilla.sourceforge.net/
Tomas Larsson wrote:
{Quote hidden}>I am looking for a freware FTP-client that I can use to debug an embedded
>FTP-Server.
>
>I find ftp-clients such as WS_DTP and the command-line client in XP not
>useful.
>What I need is a tool tha shows me all comm between the client and the
>server including low-level comm.
>
>Sofar they just throw an "unknown error", and I cant find out why.
>
>When I am looking on a the packet received from the server, it looks ok, but
>there is no response from the client, after the first server ACK.
>
>Anyone that has any ideas.
>
>With best regards
>
>Tomas Larsson
>Sweden
>
http://www.naks.mine.nu for downloads etc.
>ftp://ktl.mine.nu for uploads. Or use the free
http://www.yousendit.com service.
>
>Verus Amicus Est Tamquam Alter Idem
>
>
>
>
>
2006\01\18@135623
by
Wouter van Ooijen
> Sofar they just throw an "unknown error", and I cant find out why.
>
> When I am looking on a the packet received from the server,
> it looks ok, but
> there is no response from the client, after the first server ACK.
>
> Anyone that has any ideas.
If you use ethernet, get a packet sniffer. Ethereal?
Wouter van Ooijen
-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu
2006\01\18@135836
by
Mike Hord
Can't say enough good things about filezilla.
Also provides a superb freeware server. Easy as cake
to set up and use.
Mike H.
> I am looking for a freware FTP-client that I can use to debug an embedded
> FTP-Server.
2006\01\18@141119
by
James Newtons Massmind
Turn debug on. At the xp command prompt:
Ftp
ftp> help
Commands may be abbreviated. Commands are:
! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp> help debug
debug Toggle debugging mode
ftp> debug
Debugging On .
ftp> open ftp.massmind.org
Connected to nt2.massmind.org.
220 nt2 Microsoft FTP Service (Version 4.0).
User (nt2.massmind.org:(none)): anonymous
---> USER anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
---> PASS .....jamesnewtonKILLspam
@spam@massmind.org
230-Welcome!
230-
230-Upload your files to \in and email webmaster
KILLspammassmind.org requesting
approval
230-
230-Your file will be moved to
230-\member\(yourID)\(file)
230-
230 Anonymous user logged in.
ftp> ls
---> PORT 192,168,0,17,12,117
200 PORT command successful.
---> NLST
150 Opening ASCII mode data connection for file list.
in
pub
226 Transfer complete.
ftp: 9 bytes received in 0.03Seconds 0.28Kbytes/sec.
ftp> cd in
---> CWD in
250 CWD command successful.
Notice the lines starting with ---> which are the low level commands.
---
James.
> {Original Message removed}
2006\01\18@144429
by
Tomas Larsson
I've been using a packet sniffer called "Analyzer", I haven't been able to
get ethereal to work on my box.
If I look at the packets sent by WINXP command client, I can se a port
request to port 21.
The server answers that request with correct MAC and IP, SEQ=0 and ACK is
the SEQ from the client +1, but the client repeats its request, don't seem
to get the answer from the server.
The client exits with "unknown error" after a while.
With best regards
Tomas Larsson
Sweden
Verus Amicus Est Tamquam Alter Idem
> {Original Message removed}
2006\01\18@150830
by
Tomas Larsson
Downloaded te latest Ethereal, and big surprise, it works, that is ethereal,
also found the problem, checksum is wrong according to ethereal.
With best regards
Tomas Larsson
Sweden
Verus Amicus Est Tamquam Alter Idem
> {Original Message removed}
2006\01\18@153323
by
Wouter van Ooijen
> Downloaded te latest Ethereal, and big surprise, it works,
> that is ethereal,
> also found the problem, checksum is wrong according to ethereal.
Better do the checksum yourself and verify, checksum is one of the
things I sometimes suspect Ethereal is wrong. But of course the best bet
is that it is right.
Wouter van Ooijen
-- -------------------------------------------
Van Ooijen Technische Informatica: http://www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: http://www.voti.nl/hvu
2006\01\18@160228
by
Tomas Larsson
I have to do a manual check of the checksum, I do however think that the
code is correct as such, since it calculates the received checksum and it
equals with the checksum received. Anyway need to dig into that code.
With best regards
Tomas Larsson
Sweden
Verus Amicus Est Tamquam Alter Idem
> {Original Message removed}
2006\01\18@161732
by
Russell McMahon
> Turn debug on. At the xp command prompt:
>
> Ftp
> ftp> help
Also helps to have edlin available :-)
(which it still is on my XP !)
And, do note the all important 'bye' command. None of the more
expected alternatives work (except Ctrl-Alt-Del).
RM
2006\01\18@165933
by
Tomas Larsson
Tried that, won't help, debug only shows what is happehning when the
connection is established, didn't get that far though.
With best regards
Tomas Larsson
Sweden
Verus Amicus Est Tamquam Alter Idem
> {Original Message removed}
2006\01\19@155136
by
Peter
On Thu, 19 Jan 2006, Russell McMahon wrote:
{Quote hidden}>> Turn debug on. At the xp command prompt:
>>
>> Ftp
>> ftp> help
>
>
> Also helps to have edlin available :-)
> (which it still is on my XP !)
>
> And, do note the all important 'bye' command. None of the more expected
> alternatives work (except Ctrl-Alt-Del).
echo bye >exit.bat
Peter
More... (looser matching)
- Last day of these posts
- In 2006
, 2007 only
- Today
- New search...