Hi.
I'm trying to add the ability to upload the current file via ftp using the
tools-menu, but failed doing it with the windows ftp.exe only.
So I thought lua might be up to the task, but I'm not good enough to make it 
happen.
Here is what I'm trying to do:

My HTML/PHP-files may be located in
d:\web\domain1.tld\
d:\web\domain2.tld\
d:\web\domain3.tld\
...
each domain is on a different server and thus needs different login-parameters
(domain,login,password).
These details would be saved in simple textfiles. I might have
$(SciteDefaultHome)\profiles\domain1.tld.ftp
$(SciteDefaultHome)\profiles\domain2.tld.ftp
$(SciteDefaultHome)\profiles\domain3.tld.ftp
...
Each *.ftp contais the parameters for that server.

Now, when I trigger the script from Scite's menu, it should read the current
files parent directory name (e.g. "domain1.tld/"), load the apropriate profile
(in this case "$(SciteDefaultHome)\profiles\domain1.tld.ftp") and use the
windows ftp.exe with this information to upload the current file without user
interaction.

Please, can anybody help me with this? I didn't find and lua-ftp-scripts.
It works partially without lua, but then I can't get just the parent directory
name, only the whole $(FileDir).

Any help would be appreciated!

Gerrit
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to