addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [PhillyPUG] FTP TLS failure (first BIG Python problem)

From: Gary D.
Sent on: Monday, March 12, 2012 6:49 AM
In Message <[address removed]>,
   Gareth Kear <[address removed]>wrote:

=>Philly Python folks,
=>
=>I've NEVER had a big Python problem till this week.   We promised our biggest client (Amtrak) that we could automate all out FTP with them.
=>I gave this little thought since we have done lots of SFTP with Paramiko module and also with the regular FTP module.
=>
=>However, we ran into a BIG roadblock last week trying to use FTP with TLS.
=>No matter what, after a successful connection, we can NOT get a directory listing without the  [Errno 10060] shown below.
=>We tried everything you can think of.  The timeout setting in the FTP_TLS line makes no difference.  The error comes back in 20 seconds.

   Have you looked through http://bugs.pytho...­ ? If all else
fails, you might look at m2crypto, which has another implementation.

   Good luck...

					Gary Duzan


Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy