not able to establish ftp-connection

Questions and discussion about The WiPy 1.0 board and CC3200 boards.
Target audience: Users with a WiPy 1.0 or CC3200 board.
Post Reply
Tomsen
Posts: 1
Joined: Fri Nov 27, 2015 10:46 pm

not able to establish ftp-connection

Post by Tomsen » Fri Nov 27, 2015 11:12 pm

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

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: not able to establish ftp-connection

Post by pythoncoder » Sat Nov 28, 2015 11:10 am

Can you FTP to other devices or sites? Is it possible there's a firewall blocking the transfer?
Peter Hinch
Index to my micropython libraries.

nui_de
Posts: 40
Joined: Fri Oct 23, 2015 3:27 pm

Re: not able to establish ftp-connection

Post by nui_de » Sat Nov 28, 2015 2:14 pm

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.

User avatar
Roberthh
Posts: 3668
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: not able to establish ftp-connection

Post by Roberthh » Sat Nov 28, 2015 4:04 pm

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

Oli_
Posts: 15
Joined: Sun Nov 15, 2015 1:36 am

Re: not able to establish ftp-connection

Post by Oli_ » Sat Nov 28, 2015 4:12 pm

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.

Post Reply