Re: ftp: get list of files

2006-02-09 Thread Paul Watson
Lawrence Oluyede wrote: eels [EMAIL PROTECTED] writes: With yyy = ftp.retrlines('LIST') I get this listing at stdout, but I need this information at variable yyy. How can I resolve this problem? As written in the doc retrlines has an optional parameter (a callback function) called on

ftp: get list of files

2006-02-07 Thread eels
Hello, I want to get a listing of my files at web server with ftp. I wantn 't download the files. With yyy = ftp.retrlines('LIST') I get this listing at stdout, but I need this information at variable yyy. How can I resolve this problem? Thank's for your hints, Thomas --

Re: ftp: get list of files

2006-02-07 Thread Lawrence Oluyede
eels [EMAIL PROTECTED] writes: With yyy = ftp.retrlines('LIST') I get this listing at stdout, but I need this information at variable yyy. How can I resolve this problem? As written in the doc retrlines has an optional parameter (a callback function) called on each line retrieved, so you can