Re: [Tutor] ftplib.storbinary and using a progress bar

2008-09-07 Thread Alan Gauld
"Kent Johnson" <[EMAIL PROTECTED]> wrote I don't think threading will help here, the problem is that the progress information is not available. If you are transferring from A to B and can find the size of the file at A and poll the size at B you can display progress. OTOH if that is not avail

Re: [Tutor] ftplib.storbinary and using a progress bar

2008-09-07 Thread johnf
On Saturday 06 September 2008 06:49:39 pm johnf wrote: > Hi, > I'm currently using ftplib.storbinary() to upload a file to a FTP server. > However, I would like to inform the user of the progress being made during > the file transfer (it could be a very long transfer). But > ftplib.storbinary() ha

Re: [Tutor] ftplib.storbinary and using a progress bar

2008-09-07 Thread Kent Johnson
On Sun, Sep 7, 2008 at 4:13 AM, Alan Gauld <[EMAIL PROTECTED]> wrote: > "johnf" <[EMAIL PROTECTED]> wrote > >> the file transfer (it could be a very long transfer). But >> ftplib.storbinary() has no callback like retrbinary() so does anyone have >> a >> thought on how I can update my user on the p

Re: [Tutor] ftplib.storbinary and using a progress bar

2008-09-07 Thread Kent Johnson
On Sat, Sep 6, 2008 at 9:49 PM, johnf <[EMAIL PROTECTED]> wrote: > Hi, > I'm currently using ftplib.storbinary() to upload a file to a FTP server. > However, I would like to inform the user of the progress being made during > the file transfer (it could be a very long transfer). But > ftplib.storb

Re: [Tutor] ftplib.storbinary and using a progress bar

2008-09-07 Thread Alan Gauld
"johnf" <[EMAIL PROTECTED]> wrote the file transfer (it could be a very long transfer). But ftplib.storbinary() has no callback like retrbinary() so does anyone have a thought on how I can update my user on the progress of the transfer. If you don't fancy getting the 2.6 source as Terry sug

Re: [Tutor] ftplib.storbinary and using a progress bar

2008-09-06 Thread Terry Carroll
On Sat, 6 Sep 2008, johnf wrote: > I'm currently using ftplib.storbinary() to upload a file to a FTP server. > However, I would like to inform the user of the progress being made during > the file transfer (it could be a very long transfer). But > ftplib.storbinary() has no callback like retr