Re: Trouble with ftplib uploading to an FTP server

2010-02-25 Thread Sky Larking
On Feb 25, 1:10 am, Dennis Lee Bieber wrote: > On Wed, 24 Feb 2010 17:21:58 -0800 (PST), Sky Larking > declaimed the following in > gmane.comp.python.general: > > > For instance I just ran the script and os.rename() renamed it to: > > > TestMachine.local @ 02-24-2010 2020.txt > > > in that .txt f

Re: Trouble with ftplib uploading to an FTP server

2010-02-24 Thread Sky Larking
On Feb 24, 3:56 pm, MRAB wrote: > Sky Larking wrote: > > This bit of code is designed to get the external IP address and > > hostname of a client , write it locally to a file, then upload to an > > FTP server. It works locally( one can see the IP number and hostname > > with a time stamp in /Users

Re: Trouble with ftplib uploading to an FTP server

2010-02-24 Thread MRAB
Sky Larking wrote: This bit of code is designed to get the external IP address and hostname of a client , write it locally to a file, then upload to an FTP server. It works locally( one can see the IP number and hostname with a time stamp in /Users/admin/Documents) , but when the file is opened o

Trouble with ftplib uploading to an FTP server

2010-02-24 Thread Sky Larking
This bit of code is designed to get the external IP address and hostname of a client , write it locally to a file, then upload to an FTP server. It works locally( one can see the IP number and hostname with a time stamp in /Users/admin/Documents) , but when the file is opened on the server after it