All of which looks OK.
> [ftp]
> secure = False
> site = ftp.mcgill.org.uk
> local site = False
> user = [myuser]
> directory = httpdocs/weather/data/
> password = [mypassword]
> The directory I'm uploading to exists, although if I introduce an
> error in the path, no error is shown.
>
> Any help gratefully received
One possibility is to change the directory from httpdocs/weather/data/
to /httpdocs/weather/data/ (i.e. adding a leading slash). Upload.py used
to do this itself, until it started causing problems for some users.
(Some ftp servers expect relative paths, some expect absolute.) This is
consistent with your observation that setting a wrong directory causes
no error - I ought to add a test for this.
--
Jim Easterbrook <http://www.jim-easterbrook.me.uk/>
r240 is when I introduced the new 'Tasks' module to handle templating,
graphing and uploading at hourly, 12-hourly or daily intervals. I
haven't properly documented this yet. There are new sections in
weather.ini where you list the templates to be processed, e.g.
[hourly]
underground = True
twitter = ['tweet.txt']
plot = ['7days.png.xml', '24hrs.png.xml', 'rose_12hrs.png.xml']
text = ['24hrs.txt', '6hrs.txt', '7days.txt', 'allmonths.txt']
[daily]
underground = False
twitter = []
plot = ['2009.png.xml', '2010.png.xml', '28days.png.xml']
text = ['feed_daily.xml']
[12 hourly]
underground = False
twitter = []
plot = []
text = []
Previous versions just processed everything in the template directories
every hour.