Page 1 of 1
Extra web files
Posted: Sun 27 Sep 2015 10:53 am
by gluepack
Not a big thing but I ended up with a couple of blank lines in the Extra web files list. Cut and paste filled them up but could you code it to just shift them up when that happens (oh, and uncheck all those FTP boxes on the rest of the 10 blank pages)? Although, I guess, some would complain that they like blank lines in order to group them, possibly, and the check box ticked so they don't forget

Re: Extra web files
Posted: Sun 27 Sep 2015 11:46 am
by steve
I may be able to add a button to remove the blank lines (where both local and remote fields are empty) - I'd have to look at the code, and see whether it would fit in with the editable grid component that page uses. The ftp boxes are all ticked because that's the default. Looking at it now, there's no particular reason for that to be on by default and 'process', say, to be off, but it's just one of those things I did many years ago and haven't changed.
Given the small amount of time I have available for actually writing new code, there are probably more important things I should be doing first...
Re: Extra web files
Posted: Sun 27 Sep 2015 12:10 pm
by gluepack
As I said, it isn't a big thing and it probably has no impact on processing time but it has doubled the size of the ini file (although that is all relative too, 10k to 21k).
Re: Extra web files
Posted: Sun 27 Sep 2015 12:36 pm
by steve
The number of entries in the ini file is really a different issue, and there's not a lot I can do about that - or at least, it would require quite a bit of extra code to handle removing empty entries. It's much easier and less risky just to write the whole array out every time.