Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82255
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <seag33k@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.060 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; '21,': 0.07; 'file)': 0.09; 'works.': 0.09; 'random': 0.14; 'file.close()': 0.16; 'ftplib': 0.16; 'url:ftp': 0.16; 'trying': 0.19; 'skip:f 30': 0.19; 'seems': 0.21; 'import': 0.22; 'script.': 0.24; "i've": 0.25; 'script': 0.25; 'message-id:@mail.gmail.com': 0.30; 'firewall': 0.31; 'helpful.': 0.31; 'file': 0.32; 'thanks!': 0.32; 'open': 0.33; 'running': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'skip:f 40': 0.36; 'skip:o 20': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'such': 0.63; 'our': 0.64; 'skip:f 50': 0.65; 'here': 0.66; 'default': 0.69; 'subject:skip:F 10': 0.84; 'destination': 0.91; 'ports': 0.93 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fTjhpkA2yvZT0kLsTQ+vzJ99PkQW7HjcP/UMzWIsO7A=; b=MESkIdn7CF17f81gqVv4NnTLT4x8yTCeOEFyAsWX1idK+vq/H6gplkfgqiXOzAVXy/ ttYx19VsYfxgDKPrTnrqejd9Lsq23WydlNy45BfsQBQKL7fwLOrp9nKhEK1TQOY/zQS8 hwXRPDFwGXxvhENhSthYq1iOYUu3AN3LPWABZeSIAY7gCdyMAZcmbH/4ypFI9LZ1pjs+ UW3/umXMwI+SbGv8pDgRB/W19ZCTQ2dJ8DDAC8/YvEY5gkvVr6lFKM7aVm5ysVps32WA 3fNaso85Xw+uW/2Aoc4uc3dZsn8H1CUstv9abSjjbmXd42XxhPmtTL3iBMgVcYx/Hbvr fApw== |
| MIME-Version | 1.0 |
| X-Received | by 10.140.83.8 with SMTP id i8mr3918683qgd.103.1418184820176; Tue, 09 Dec 2014 20:13:40 -0800 (PST) |
| Date | Tue, 9 Dec 2014 20:13:40 -0800 |
| Subject | Ftplib.FTP_TLS Ports |
| From | Eric <seag33k@gmail.com> |
| To | python-list@python.org |
| Content-Type | multipart/alternative; boundary=001a11c132f86ec1590509d4e2ca |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16788.1418184828.18130.python-list@python.org> (permalink) |
| Lines | 40 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1418184828 news.xs4all.nl 2898 [2001:888:2000:d::a6]:44226 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:82255 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
We are trying to open our firewall but it keeps failing. The docs state
that the default port is 21 and we've opened port 21. I've ran tcpdump on
the box while running the script. I see a destination port of 21, but
there seems to be random destination ports such as 2320 which follow. If
we open the firewall to allow all traffic, the script works. Here is a
snip of what I have for the ftp portion. Any ideas would be helpful.
import ftplib
session = ftplib.FTP_TLS('xxx.ftp.com','user','password')
file = open('Bkup.tar.gz','rb')
session.storbinary('STOR Bkup.tar.gz', file)
file.close()
session.quit()
Thanks!
Eric
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Ftplib.FTP_TLS Ports Eric <seag33k@gmail.com> - 2014-12-09 20:13 -0800
csiph-web