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.

Dcc eggdrop/windrop and exec

Old posts that have not been replied to for several years.
Locked
L
LeCaptor

Post by LeCaptor »

Hello,

I have 2 questions :
- I can't use dcc to send a file, all work with windrop on my computer, but on my shell nothing work... for exemple, i only receive : "nameofthebot is trying to send you listftp.txt() on port .", so there is no size and no port... so this fails...

- I want to make my script for eggdrop and windrop, but i can't exec "cp.exe". When I test i have : "couldn't duplicate input handle: bad file number". (I have the same problem when i want to execute Lynx for windows or any other program :smile:

Sorry for my poor english i'm french :smile:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

For the second problme, do not use lynx or any other console based web-browser, this will only mean vross-platform incompatibilities (like the ones you are trying to solve). Include a copy of the http.tcl package that comes with the Tcl distrobution. This should help.

How are you trying to send the file in the first place. Using a script, or the filesystem module.
L
LeCaptor

Post by LeCaptor »

I try to send a file using a script and the command "dccsend". My script work very well under Windows, but not on my shell...

For my second problem, I can use the http package but it's quite difficult for what I want to do, also I don't know how I can send a file to a ftp without using the "ftp" program under linux (or if it was possible the "ftp.exe" program under windows). I want to use also several program like "ncftpls", "cp",... all these program run on several system, so it will quite good if I can use these ;o)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The only way to use these, is to script some code, that would check for there availability and use the correct program acordingly. Though, it would be more simple to use one program, like plain old ftp on unix, and ftp.exe on windows, as these accept the same commands, a simple script will detect if it is windows or unix, and use the correct path acordingly.

As for the filesystem, what happens when you type ".file" int he partyline.
L
LeCaptor

Post by LeCaptor »

When I want to execute a file like "ftp.exe" under windows or a script like "ftp_lib 1.2" (a tcl prog to make ftp) I have this error : 'error writing "stdout": bad file number'... always this bad file number... I have this only in Windrop, not in eggdrop...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Well it all comes down to one thing, eggdrop was never designed to run on windows.
S
Sadjied

Post by Sadjied »

Try bserv1.0.tcl
Locked