RE: FTP logon fail
"Arrizabalaga, Saioa" <sarrizabalaga-IYAZ40r/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your interest in responding me. I will try to explain it clearer: 1.-I want to do a "get" and a "put" operation with a FTPClient running in my PC to the FTPServer that TINI has. 2.-I can succesfully do both operations through Ethernet. (I try to connect to the FTPServer of the TINI, with its Ethernet IP) There is no problem at this point. These are some of the messages that are displayed by the FTPClient: -------------------------------------- connecting to 193.xxx.xxx.xxx:21 Connected to 193.xxx.xxx.xxx port 21 220 Welcome to slush. (Version 1.11) Ready for user login. USER root 331 Password Required for root PASS (hidden) 230 User root logged in. ... ... ---------------------------------------- No problem in doing "put" or "get" operations. 3.-The problem is that I can´t do the same via GPRS(I try to connect to the FTPServer of the TINI, with its GPRS IP). I have tried with several FTPClients (just in case the one I used didn´t work correctly), but no way. Using the FTPClient WS_FTP95 LE from Windows for example, these are the messages it displays: ----------------------------------------------------------- connecting to 213.4.184.126:21 Connected to 213.4.184.126 port 21 220 Welcome to slush. (Version 1.11) Ready for user login. USER root ------->>>>> It spends a lot of time just here ! Receive error: Blocking call cancelled ! Logon failure, so quitting ---------------------------------------------------------- I don´t understand why this doesn´t work in GPRS, while in Ethernet it works properly. And I have no idea how to solve it but it is quite important for my project! Could someone help me? -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]] On Behalf Of Aleksandar_Matijaca-SARqVTsK3/5Wk0Htik3J/[email protected] Sent: lunes, 26 de enero de 2004 20:21 To: Arrizabalaga, Saioa Cc: TINI Mailing List; tini-admin-6tN4nzCoH/[email protected] Subject: Re: [TINI]FTP logon fail FTP uses two ports - 21 and 22. TCP 21 is used for control (logging in etc), and 22 is used for data (it may be reverse). Are you trying to connect to your own ftp server on the tini? A small code snippet would help me in understanding exactly what you are trying to do... a.m. "Arrizabalaga, Saioa" To: "TINI Mailing List" <TINI-6tN4nzCoH/[email protected]> <sarrizabalaga-xddQ6fo/[email protected] cc: eit.es> Subject: [TINI]FTP logon fail Sent by: [email protected] mi.com 01/26/2004 10:36 AM Hello again, I posted this message before, but as I haven´t received any response, I would like to add some information, so that somebody could give me any ideas! (I am stuck!!!!) I thought that a serversocket object is joined to a specific pair of IP address and port. If this statement is right, and if: 1-A serversocket object in the port X is created. (TINI´s default IP is Ethernet IP) 2-a PPP_UP event is got, (and a new GPRS IP address is put as default address) Can I say that that the serversocket, created in step 1, is not "listening" in the GPRS IP address in the port X? Or port and IP address are independent? At first I thought that the serversocket isn´t listening in the new IP address, and that this is the reason why I can´t connect to the FTPServer with the GRPS IP... But then, I realize that I can do a telnet with the new IP, so that I must be wrong... I also realize that the FTPClient I was running in my PC, could connect to the FTPServer on the TINI, but the logon is the failing point... (At least that is what I understand after reading what the FTPClient "says"... (It is posted after this mail...)) I only try to understand why I can´t connect to the FTPServer, but I don´t know it yet!!! Could someone help me please!! -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]] On Behalf Of Arrizabalaga, Saioa Sent: jueves, 22 de enero de 2004 17:32 To: TINI Mailing List Cc: Martin, Anabel Subject: [TINI]No success in FTP connection through GPRS, but success through Ethernet!!!!! Hello all, We have succesfully got the PPP_UP event with no problem, after having followed the steps mentioned in http://lists.dalsemi.com/maillists/tini/2003-May/026191.html about connecting to GPRS, and our application works OK, but we have found some problems when using the TINI´s FTPServer. We have tried with several FTPClients in our PC, but with no success. We can connect to the FTPServer only if we use the Ethernet IP address of TINI. When we try to connect to the FTPServer with GPRS IP address, we get this response: connecting to 213.4.184.126:21 Connected to 213.4.184.126 port 21 220 Welcome to slush. (Version 1.11) Ready for user login. USER root ------->>>>> It spends a lot of time just here ! Receive error: Blocking call cancelled ! Logon failure, so quitting Any ideas about why this can happen? Thanks in advance, Saioa Arrizabalaga _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini