urllib.FTP.stor...() freeze mystery

A

Anthra Norell

Hi,
I made a bunch of web pages and am now trying to upload them to a
hosting service. I have an ftplib.FTP object that connects just fine. It
calls storbinary () and storlines () (as appropriate) inside a loop
iterating through my html and jpg files. Calling either of the stor...
methods from the IDLE command line works beautifully. The loop, however,
freezes after exactly seven successful passes. Ctrl-C doesn't stop the
freeze. I have to open a new IDLE window and start over. A second
attempt failed the exact same way. Could there be a limit on open files
on the server side and the files I upload not closing for some reason?
Knowing little more than nothing about communicating with a server I am
totally fazed and will be most grateful for expert suggestions.

Frederic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,962
Messages
2,570,134
Members
46,690
Latest member
MacGyver

Latest Threads

Top