This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 3 matches

by downloaded
Sat Aug 02, 2014 6:44 pm
Forum: Scripting Help
Topic: Exec help
Replies: 3
Views: 5036

Took me some time to get there... But i did. For future owners searching for this here it is. The simplest way is to use bgexec scripts. I used the one caeser posted , but there are others online. To launch your code use: bgexec "lftp -f script.txt" callback To catch the response from lftp...
by downloaded
Wed Jul 30, 2014 3:00 pm
Forum: Scripting Help
Topic: Exec help
Replies: 3
Views: 5036

Tks for your help caesar. Following you hint i came this far: set lftpexe [open "|lftp -f script.txt"] fconfigure $lftpexe -blocking 0 fileevent $lftpexe readable [list lftpcallback $lftpexe] proc lftpcallback {lftpexe} { putlog "Reader" gets $lftpexe spline putlog "Read: $s...
by downloaded
Wed Jul 30, 2014 4:45 am
Forum: Scripting Help
Topic: Exec help
Replies: 3
Views: 5036

Exec help

I've been coding a script to transfer some files using lftp. Lftp is launched with exec. From what i searched in this forum seems i have two options: 1- Run exec and wait for transfer to finish and get a sucess return code or failed. In the meanwhile the eggdrop stops responding and if the transfer ...