"125 Data connection already open" problem or something else

1,136 views
Skip to first unread message

mahboo...@gmail.com

unread,
Aug 2, 2012, 4:01:07 AM8/2/12
to pyft...@googlegroups.com
[2012-Aug-01 17:57:26] 92.69.172.242:12257 ==> 227 Entering passive mode (82,148,219,79,196,76).
[2012-Aug-01 17:57:28] 92.69.172.242:12257 <== STOR XXX.log
[2012-Aug-01 17:57:28] 92.69.172.242:12257 ==> 125 Data connection already open. Transfer starting.
[2012-Aug-01 17:57:29] 92.69.172.242:12257 ==> 226 Transfer complete.
[2012-Aug-01 17:57:29] 92.69.172.242:12257 <== QUIT

[2012-Aug-01 17:57:29] [XN25AA0010]@92.69.172.242:12257 "STOR /opt/py-ftpd/home/XXX.log" completed=1 bytes=0 seconds=0.859
[2012-Aug-01 17:57:29] [XN25AA0010]@92.69.172.242:12257 Disconnected.

The log file was not zero length, but I don't understand why there is line "125 Data connection already open"?

Giampaolo Rodolà

unread,
Aug 2, 2012, 6:43:09 AM8/2/12
to pyft...@googlegroups.com
"Data connection already open" means PASV was issued, and at the time
STOR was issued the data connection (opened by PASV) was already
established.
That's legit, don't worry.

Are you 100% sure the file length was != 0?
Are you using 0.7.0 version or latest SVN source?
I recommend to avoid development version, especially lately that I'm
working on it.

G.

2012/8/2 <mahboo...@gmail.com>:
> --
> You received this message because you are subscribed to the "Python FTP
> server library" project group:
> http://code.google.com/p/pyftpdlib/
> To post to this group, send email to pyft...@googlegroups.com
> To unsubscribe from this group, send email to
> pyftpdlib-...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/pyftpdlib

mahboo...@gmail.com

unread,
Aug 2, 2012, 7:20:02 AM8/2/12
to pyft...@googlegroups.com
Yes, I am sure that the file length was !=0, because we tested it for FreeBSD pro-ftpd.
I am using 0.7.0 version...
Reply all
Reply to author
Forward
0 new messages