mIRC Home    About    Download    Register    News    Help

Print Thread
#150741 07/06/06 10:02 PM
Joined: Mar 2006
Posts: 10
S
strac Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Mar 2006
Posts: 10
I am currently in the works of a multipart script which relies on mirc to be able to enter an ftp transfer with a site (if that is even possible).
The room topic will change periodically to contain a key word
when this word is in the topic mirc transfers data to a web server
the webserver has a script on it to read the file and outputs 1 of 2 pictures depending on the contents of the file mirc controls.

The rest of this is no problem, but getting mirc to do the transfer is one I'm not sure of.

Does anyone know how to get mirc to perform this vital task?

#150742 07/06/06 10:56 PM
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
http://mircscripts.org/archive.php?stype...&perpage=20

You might find the one named simply 'ftp' to be useful. I've used it on a few occasions for uploading specific files.

#150743 08/06/06 02:29 AM
Joined: Mar 2006
Posts: 10
S
strac Offline OP
Pikka bird
OP Offline
Pikka bird
S
Joined: Mar 2006
Posts: 10
Thank you very much, that gave me all the info I needed to create the script and it's now completely assembled and functioning.

Mirc watches the room topic and if someone takes control writes to a text file and ftp's the text file to the web server.
On the web server there's a php script that reads the file mirc controls and depending on the on contents of the mirc controlled file determines the output on the website, in this case which picture to display.

and again, thank you very much


Link Copied to Clipboard