<pre>Stefan,<br><br>Thanks for your reply. <br><br><br>Which versions of ftputil and Python do you use?<br><br>ftputil 2.2.1 (the latest) and python 2.5<br><br>I don't have a concrete idea but some suggestions.<br><br>
Did you actually call the close method of the file-like object?<br>If not, does it make a difference? It's common that network data<br>is buffered on the client side and some part of it only<br>transferred when the file/socket is closed.
<br><br>do i need to close? the syntax for upload method is upload(source, target, mode) where both source and target is string, not a file object. can I call close method on them? i tried it and got an error.<br><br>Can you transfer the files successfully with a command line or
<br>GUI FTP client from the same client computer?<br><br>yes. i do it regularly with ftp client (FileZilla). that's why i'm trying to automate it with python.<br><br><br>Can you reproduce the problem with another FTP server? (By the
<br>way, which one on which platform do you use?) How good is the<br>network connection between client and server?<br></pre>yes. the same problem exists on two ftp servers i tried. i'm on Windows XP Pro. SP2. the internet connection is good.
<br><br><br>Btw, I could not forward the message in this mailing list to my email, so I had to start a new thread. I thought I enabled that option when I subscribed to this list, guess not. and I don't know how to change it.
<br clear="all"><br>thanks for your help.<br><br>--<br>wcc