The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by robertr]

Hy Daryl,
first I want to tell you that I like your book very much. I am an old hand
programming and came to python for zope reasons some months ago. According to
my habit to go to the bookstore when ever I have a programming problem and buy
a book or two to help me solve itI have a massive bookself).
Lerning a new language hapened to be such a problem. So I bougth some
python-boks. One with a fat snake one the cover. But yours the best! It is my
reference with just the amount of introduction an referce material a
programmers needs. Exelent work!
Now my question: I am looking for samples concerning usage of ftplib. What I
want to do is to upload rather large binary documents (1 to 10 MB) to an
ftp-server and manage them trough mysql. It is the managing of the up/download
process I am interested in.
thank you for your time
Robert
import-bot (20211) [Avatar] Offline
#2
Re: ftp(and praise of your book)
[Originally posted by daryl harms]

> Hy Daryl,
> first I want to tell you that I like your book very much. I am an old hand
> programming and came to python for zope reasons some months ago. According to
> my habit to go to the bookstore when ever I have a programming problem and buy
> a book or two to help me solve itI have a massive bookself).
> Lerning a new language hapened to be such a problem. So I bougth some
> python-boks. One with a fat snake one the cover. But yours the best! It is my
> reference with just the amount of introduction an referce material a
> programmers needs. Exelent work!
> Now my question: I am looking for samples concerning usage of ftplib. What I
> want to do is to upload rather large binary documents (1 to 10 MB) to an
> ftp-server and manage them trough mysql. It is the managing of the up/download
> process I am interested in.
> thank you for your time
> Robert

Hi Robert,

Thanks for your comments! Its nice to get positive feedback from someone who
has experience with a significant number of different books. Especially
considering those "animal on the cover" books usually get the bulk of the
attention smilie.


I haven't done much beyond the very basic with ftplib, so can't vouch for any
of the following:

A couple of places you might try looking (that you should already have on your
machine) are the module urllib and the script ftpmirror.py (in Tools/Scripts).

Beyond that, a search on the Vaults of Parnassus of "ftp":
http://www.vex.net/parnassus/apyllo.py?find=ftp

brings up a number of programs that you can download. Some of these (actually
the first five or so) might prove useful for ideas or as sources of code to
incorporate.

"upload" from:
http://www.ndh.net/home/sschwarzer/python/python_software.html


Daryl