Saturday, February 25, 2006 04:13 PM
Don't you need to open the 2nd socket? (ftp involves 2 socket connections, to 2 different ports, for control and data, not just one for both, right?)
And it's been years since I worked with ftp (back then it was all K&R C code, not even ANSI C yet) but I do know that "passive" mode means the 2nd (data) socket is opened backwards, compared to "normal" mode --- usually I think the server initiates the data socket connection to the client? but a firewall won't allow that, so "passive" mode means the server lets the client initiate the data socket instead?
Friday, February 17, 2006 01:55 PM
How muc size of your txt file ?
Try to do the same with 1KB txt file and see the problem still persists.May be FTP server is not configured properly.