On Aug 18, 6:02 am, Nitebirdz wrote:
> On Mon, Aug 17, 2009 at 11:10:25AM -0700, seldan24 wrote:
>
> > I didn't even notice the higher level methods. I changed the
> > retrieval line to:
>
> > ftp.nlst("testfile*.txt")
>
> > This works great. The result is even captured in an array. I really
>
On Mon, Aug 17, 2009 at 11:10:25AM -0700, seldan24 wrote:
>
> I didn't even notice the higher level methods. I changed the
> retrieval line to:
>
> ftp.nlst("testfile*.txt")
>
> This works great. The result is even captured in an array. I really
> have no idea what the difference between a LI
On Mon, Aug 17, 2009 at 11:10:25AM -0700, seldan24 wrote:
>
> I didn't even notice the higher level methods. I changed the
> retrieval line to:
>
> ftp.nlst("testfile*.txt")
>
> This works great. The result is even captured in an array. I really
> have no idea what the difference between a LI
On Aug 17, 1:51 pm, David <71da...@libero.it> wrote:
> Il Mon, 17 Aug 2009 10:43:33 -0700 (PDT), seldan24 ha scritto:
>
> > Hello,
>
> > I'm utterly confused by something which is most likely trivial. I'm
> > attempting to connect to an FTP server, retrieve a list of files, and
> > store than in a
Il Mon, 17 Aug 2009 10:43:33 -0700 (PDT), seldan24 ha scritto:
> Hello,
>
> I'm utterly confused by something which is most likely trivial. I'm
> attempting to connect to an FTP server, retrieve a list of files, and
> store than in an array. I.e.:
>
> import ftplib
>
> ftp = ftplib.FTP(server
Hello,
I'm utterly confused by something which is most likely trivial. I'm
attempting to connect to an FTP server, retrieve a list of files, and
store than in an array. I.e.:
import ftplib
ftp = ftplib.FTP(server)
ftp.login(user, pass)
ftp.cwd(conf['testdir'])
ftp.retrlines('NLST ' + "testfile