in reply to Re^3: problem with put function
in thread problem with put function

You don't say whether you are seeing this problem on every connection you make, or just those at one server?

I'm no ftp expert, but I'd try your code without the call to pasv() and see how you get on?

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon