Re: Problems with FTP

2011-01-21 Thread RizlaJ
Thanks Giampaolo, Benjamin for your responses. You are correct, if I can connect to the ftp site from home and you can connect too then the problem (as you state) lies at the firewall or some security issue. Thanks for your detailed responses, they've been very helpful to me. Kind Regards -- http

Re: Problems with FTP

2011-01-21 Thread Giampaolo RodolĂ 
The standard FTP protocol does not supporty any kind of proxy-ing feature natively. The only closest thing to the concept of a "proxy" we can find in the FTP protocol is the site-to-site transfer feature: http://code.google.com/p/pyftpdlib/wiki/FAQ#What_is_FXP? ...but it's something different. By

Re: Problems with FTP

2011-01-21 Thread Benjamin Kaplan
On Fri, Jan 21, 2011 at 3:01 PM, RizlaJ wrote: > Hi Tom, Giampaolo, > > Thank you both for your swift replies. I have asked our IT dept to see > if it is the firewall that is blocking the FTP. They are working on > that side of things. > > However I would have thought that the following or some ve

Re: Problems with FTP

2011-01-21 Thread RizlaJ
Hi Tom, Giampaolo, Thank you both for your swift replies. I have asked our IT dept to see if it is the firewall that is blocking the FTP. They are working on that side of things. However I would have thought that the following or some version of it would have worked:- >>> import urllib >>> proxi

Re: Problems with FTP

2011-01-21 Thread Giampaolo RodolĂ 
The solution proposed on stackoverflow: from ftplib import FTP site = FTP('my_proxy') site.set_debuglevel(1) msg = site.login('anonymous at ftp.download.com', 'password') site.cwd('/pub') ...can not work. The "anonymous at ftp.download.com" part is pure fiction. Nothing like that has ever been me

Re: Problems with FTP

2011-01-21 Thread Thomas Jollans
On Friday 21 January 2011, it occurred to RizlaJ to exclaim: > Hi all, I'm very new to python. I'm using Python 2.7, in a corporate > environment, therefore am behind a proxy server, firewalls etc. > > I can ftp to a barclays capital ftp site ok in internet explorer, but > I can't get the FTP from

Problems with FTP

2011-01-21 Thread RizlaJ
Hi all, I'm very new to python. I'm using Python 2.7, in a corporate environment, therefore am behind a proxy server, firewalls etc. I can ftp to a barclays capital ftp site ok in internet explorer, but I can't get the FTP from ftplib to work for me. Can someone please help! I've tried the follow