On Fri, Nov 19, 2010 at 10:11 AM, Terry Brown <[email protected]> wrote: > On Thu, 18 Nov 2010 23:12:26 -0800 (PST) > Ivanov Dmitriy <[email protected]> wrote: > >> I decided to create a leo ftp plugin and need help. Please, someone >> experienced in leo programming, read my pdf with scheme and questions: >> >> http://live-wtr.ru/ftp.pdf > > So the goal is to make Leo log in to an ftp site and upload the derived files > in the outline which have changed to that site? > > Personally I use the linux command line tool `sitecopy` for this sort of > thing.
Let's see if we can simplify the big picture. It should be easy to simulate sitecopy in Leo. Just put an upload date in a uA associated with each @<file> node. The script will compare upload time to modification time, and upload as needed. There should be no need to create an @button (or @command) node programmatically. Just make the node and put the script in it. The next time you reload the .leo file Leo will create the button for you. HTH. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
