Page 1 of 1

not able to establish ftp-connection

Posted: Fri Nov 27, 2015 11:12 pm
by Tomsen
Hey wipy-folks,

right now i start to work with my wipy-board, that i received a few weeks ago.

1.) The board itself works and i'm able to open up a telnet-connection. Login works, REPL appears, programming possible...
2.) Now i try to access the internal drive via ftp.... at this point i face some problems.

Software: filezilla
Setup:
General Tab:
host: 192.168.1.1:23
protocol: FTP
encryption:Only use plain ...
Logon type: Normal
user: micro
pw: python

Advanced Tab:
Server Type: Default

Transfer Settings Tab:
Transfer Mode: passive
Limit number ... : checked and setup to 1


The connection protocol says:

Connecting to 192.168.1.1:21...
Connection established, waiting for welcome message...
220Micropython ftp server
USER micro
331
PASS ******
230
OPEN 192.168.1.1:23
502
Could not connect to server
Waiting to retry....


Any suggestions, why this won't work?
Do i have failures in the connection-setup?

Any hints are very welcome :-).


thanks and cheers,
tomsen

Re: not able to establish ftp-connection

Posted: Sat Nov 28, 2015 11:10 am
by pythoncoder
Can you FTP to other devices or sites? Is it possible there's a firewall blocking the transfer?

Re: not able to establish ftp-connection

Posted: Sat Nov 28, 2015 2:14 pm
by nui_de
Try another FTP client - or disable "multiple connections" in filezilla - don't know where
because I do not use filezilla but maybe it helps ;)

Wipy allows only ONE active connetion.

Re: not able to establish ftp-connection

Posted: Sat Nov 28, 2015 4:04 pm
by Roberthh
Hi all,
in the protocol above the OPEN .... after the password entry is unexpected, since the connection was already opened for user authentication. But like nui_de said, try another client, maybe just the command line version. At my place, filezilla works, but I prefer the simple ftp client.
Regards

Re: not able to establish ftp-connection

Posted: Sat Nov 28, 2015 4:12 pm
by Oli_
Tomsen wrote: The connection protocol says:

Connecting to 192.168.1.1:21...
Connection established, waiting for welcome message...
220Micropython ftp server
USER micro
331
PASS ******
230
OPEN 192.168.1.1:23
502
Could not connect to server
Waiting to retry....
Did you cut and paste these connection protocol from Filezilla ?
There is a strange thing !
The first line says : "Connecting to 192.168.1.1:21", that's correct as the port 21 is the FTP port.
But some lines down you have "OPEN 192.168.1.1:23" ... Where does it come from ?? And 23 is the TELNET port.
In my Filezilla log I don't have such behavior.