From: Michael G. <mg...@ee...> - 2006-07-30 19:08:49
|
Hi. I am not actively developing Ftpcube currently. I do think about updating it and completing support for sftp, but am distracted by other things (i.e., the job). That being said, I'd be more than happy to integrate any patches and provide a point release. Regarding the threaded programming... The actual ftp connection itself is actually managed within ftp.py. All the information for resuming the upload should be there (dunno why it isn't working properly) from the remote listing. The calculated size gets passed as an argumetn to the uploadBinary() method on an instance of the FTP class. I would look to see where this is called and how the rest argument is getting calculated. -- Mike On Sun, Jul 30 @ 10:48, Rama wrote: > Hi list, > > I'm just looking around ftpcube as I need an FTP client for some > specific needs, so I'll be doing a whole new interface for it just to > suit our needs. > > The problem is resume is not working for me, at least on uploading > files, which is what I need. > > It seems when it's calculating the REST (so what's already uploaded) it > always returns the size of the local file size instead of the remote, so > it always starts from the beginning (?). > > I'm not so experienced with threads programming, so it's not clear for > me how I could send a request for the size to the FTP server (using > ftplib's size, or in turn I might use MLST and parse the output) and get > back the results to assign to the REST. > > Could someone please help with it? > Thanks a lot, > cheers, > Rama > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Ftpcube-general mailing list > Ftp...@li... > https://lists.sourceforge.net/lists/listinfo/ftpcube-general -- Michael Gilfix mg...@ee... For my gpg public key: http://www.eecs.tufts.edu/~mgilfix/contact.html |