Re: How to get file name on a remote server with ftplib?

2007-01-08 Thread alex
Thanks guys for the help! I used nlst(). The ftputil seems to be very helpfull, but getting a new library in an organization like the one I work at is big issue. Thanks anyway :) [EMAIL PROTECTED] wrote: > alex wrote: > > Hello, > > > > My script is trying to get a file from a remote server, ev

Re: How to get file name on a remote server with ftplib?

2007-01-05 Thread Stefan Schwarzer
On 2007-01-05 16:10, [EMAIL PROTECTED] wrote: > alex wrote: >> My script is trying to get a file from a remote server, every day it >> ftps from a directory. My code works perfect if I know the name of the >> file in the remote directory. >> >> ftp.retrbinary('RETR ' + filename, handleDownload) >>

Re: How to get file name on a remote server with ftplib?

2007-01-05 Thread [EMAIL PROTECTED]
alex wrote: > Hello, > > My script is trying to get a file from a remote server, every day it > ftps from a directory. My code works perfect if I know the name of the > file in the remote directory. > > ftp.retrbinary('RETR ' + filename, handleDownload) > > The problem is that in the future the na

How to get file name on a remote server with ftplib?

2007-01-05 Thread alex
Hello, My script is trying to get a file from a remote server, every day it ftps from a directory. My code works perfect if I know the name of the file in the remote directory. ftp.retrbinary('RETR ' + filename, handleDownload) The problem is that in the future the name of the file is going to b