REBOL Library REBOL

Network Related

Updated: 29-May-2003

Return to main library index

Append to a Text File

ftpappend.r

26-May-1999

Append to a text file using FTP.

1 line

236 bytes

 
Check for Directory

ftpdircheck.r

26-May-1999

Check if a filename belongs to a directory using FTP.

1 line

257 bytes

 
Run Script from FTP

ftpdo.r

26-May-1999

Do a REBOL script via FTP.

1 line

193 bytes

 
Make a directory

ftpmakedir.r

26-May-1999

Make a file directory on an FTP server.

1 line

217 bytes

 
Read a Text File

ftpread.r

26-May-1999

Read a text file from an FTP server and print it.

1 line

215 bytes

 
Rename a File

ftprename.r

26-May-1999

Rename a file on a server using FTP.

1 line

213 bytes

 
Upload a File

ftpup.r

26-May-1999

Upload a binary file to an FTP server.

1 line

218 bytes

 
Write Text File

ftpwrite.r

26-May-1999

Write a text file to an FTP server.

1 line

216 bytes

 
Email a Web Page

mailpage.r

10-Sep-1999

Send a web page. (simple)

1 line

221 bytes

 
EMail Setup (for Send)

setemail.r

6-Nov-1997

Minimum set-up for sending email messages from REBOL.

1 line

842 bytes

 
Download Web Page

webget.r

20-May-1999

Fetch a web page and save it as a file.

1 line

217 bytes

 
Web Page Displayer

webprint.r

20-May-1999

Fetch a web page and display its HTML code.

1 line

207 bytes

 
Web Page Emailer

websend.r

20-May-1999

Fetch a web page and send it as email.

1 line

219 bytes

 
Delete a File or Directory

ftpdel.r

26-May-1999

Delete a file or directory from a server using FTP.

2 lines

278 bytes

 
Download a Binary File

ftpdownbin.r

26-May-1999

Download a binary file from an FTP server.

2 lines

278 bytes

 
Get File Size and Date

ftpinfo.r

26-May-1999

Get size and date information about an FTP file.

2 lines

306 bytes

 
Protecting Passwords

passprotect.r

15-Sep-1999

Prompt for password to use before transfer.

2 lines

270 bytes

 
Search a Web Page

webfind.r

20-May-1999

Search a web page for a string, and save the page to a file if it was found

2 lines

310 bytes

 
CGI Form Emailer

cgimail.r

19-Jul-1999

Emails the contents input into a web CGI form.

3 lines

558 bytes

 
Read File Directories

ftpdir.r

26-May-1999

Read and print directories from an FTP server.

3 lines

308 bytes

 
POP Email Port Spec

popspec.r

10-Sep-1999

POP port specification used to connect to an email server. All of the mail reading examples use this.

3 lines

658 bytes

 
Time a Web Page

timepage.r

24-Apr-1999

Time how long it takes to fetch a web page from the net. (Just the HTML file, not the images.)

3 lines

317 bytes

 
Prompt for User and Password

userprotect.r

15-Sep-1999

Prompt for username and password to use for a transfer.

3 lines

317 bytes

 
Web Page Title Extractor

webtitle.r

20-May-1999

Find the title of a web page and display it.

3 lines

280 bytes

 
Email a Text File

mailfile.r

10-Sep-1999

Send a text file (as text of message).

4 lines

366 bytes

 
CGI Form Dumper

cgidump.r

19-Jul-1999

Display the contents of a submitted form as a web page. Useful for debugging CGI forms.

5 lines

605 bytes

 
Download List of Files

ftpdown.r

26-May-1999

Download a list of binary files using FTP.

5 lines

335 bytes

 
Upload Several Files

ftpupload.r

26-May-1999

Upload multiple files with FTP using login and password.

5 lines

340 bytes

 
Keep an ISP Connection Alive

keep-alive.r

16-Sep-1999

This script can be used to keep an ISP connection alive by accessing the net every so often.

5 lines

622 bytes

 
Save Email to File

mailsave.r

10-Sep-1999

This example reads all email and saves it to a file.

5 lines

500 bytes

 
Check Web Servers

check-server.r

16-Sep-1999

This script can be used to query a web server, and email webmaster if it fails.

6 lines

612 bytes

 
Check for a File or Directory

ftpcheck.r

26-May-1999

Check for the existence of an FTP file or directory.

6 lines

382 bytes

 
Update from WWW.REBOL.COM

update.r

12-Oct-1998

Updates your rebol.r and reboldoc.r files from the web.

6 lines

378 bytes

 
Rebol Daytime Server

daytime.r

4-Dec-2002

A simple Rebol Daytime Server, answers are sent in Rebol date format.

6 lines

549 bytes

 
Transfer REBOL Files to Server

ftpallto.r

18-Dec-1997

FTP all .r files in the current directory to a server.

7 lines

386 bytes

 
Download Multiple Pages

webgetter.r

20-May-1999

Fetch several web pages and save them as local files.

7 lines

336 bytes

 
Upload all HTML Files

ftphtml.r

26-May-1999

Upload a group of files to an FTP server.

8 lines

397 bytes

 
List FTP upload

listftpupload.r

22-Jun-1999

FTP upload multiple files using login and password. Supports a full upload or partial for updates from lists in %sitedata.reb and %siteupdate.reb.

8 lines

1386 bytes

 
Email Message Sender

mailsend.r

10-Sep-1999

A very simple way to send an email.

8 lines

459 bytes

 
udp2bc

udp2broadcast.r

21-Aug-2001

udp input forwarded/redirected as broadcast

8 lines

718 bytes

 
Easy CGI Form Example

cgiform.r

19-Jul-1999

Handles a CGI form and returns its values as a web page. (The associated cgiform.html file contains the form).

9 lines

954 bytes

 
Email Text Files

mailfiles.r

10-Sep-1999

This example sends a group of text files as separate messages.

9 lines

558 bytes

 
Email Friend Monitor

mailfriends.r

10-Sep-1999

This example displays messages that come from "friends" only. All others will be ignored.

9 lines

749 bytes

 
Email Group Sender

mailsendgroup.r

10-Sep-1999

A very simple way to send email to a group.

9 lines

521 bytes

 
Tiny REBOL Server

rebserver.r

11-Oct-1999

The distributed REBOL server that builds the REBOL system.

9 lines

786 bytes

 
Search Multiple Web Pages

webfinder.r

20-May-1999

Search multiple web pages for a string, and print the URL of the ones where it was found.

9 lines

429 bytes

 
Send Pages Every Hour

webloop.r

20-May-1999

Send a set of pages via email every hour.

9 lines

380 bytes

 
Broadcast

facebroadcast.r

1-Oct-2001

UDP broadcast example

9 lines

559 bytes

 
Interactive FTP Downloader

ftpdownload.r

26-May-1999

Download a group of files from an FTP server, prompting for each file along the way.

10 lines

513 bytes

 
Time Several Web Sites

timesites.r

24-Apr-1999

Time how long it takes to read several web home pages. (Just the HTML file, not the images.)

10 lines

455 bytes

 
Web Page Change Detector

webcheck.r

20-May-1999

Determine if a web page has changed since it was last checked, and if it has, send the new page via email.

10 lines

500 bytes

 
Get All Library Scripts

weblib.r

20-May-1999

Downloads all scripts from the REBOL script library

10 lines

543 bytes

 
Web HTML Tag Extractor

websplit.r

20-May-1999

Separate the HTML tags from the body text of a document.

10 lines

452 bytes

 
Email Ping (Confirmation)

mailping.r

10-Sep-1999

Confirm certain email that contains a key word.

11 lines

775 bytes

 
tcp2bc

tcp2broadcast.r

22-Aug-2001

tcp input forwarded/redirected as udp broadcast

11 lines

717 bytes

 
Email Sniffer

mailsniff.r

10-Sep-1999

Example of how to search all incoming email for particular keywords.

12 lines

789 bytes

 
Sends Email via CGI Form

cgiemailer.r

20-Jul-1999

Uses a Web form to send an email message.

13 lines

661 bytes

 
Count References on Web Pages

countweb.r

18-Dec-1997

Count the number of times a string appears on each of a given set of web pages.

13 lines

546 bytes

 
Search Web Pages

findweb.r

18-Dec-1997

Simple example of searching multiple web pages for a specified string.

13 lines

534 bytes

 
Demo client with telnet-protocol

telnet-client.r

6-Jul-2001

A simple telnet-client

13 lines

665 bytes

 
Email Send With CC

mailcc.r

10-Sep-1999

Example of how to include CC addresses on an email header.

14 lines

522 bytes

 
REBOL Vision

rebcam.r

22-May-2001

Fetch Webcam image at a specified refresh interval.

14 lines

609 bytes

 
Web Page Link Displayer

weblinks.r

20-May-1999

Display all of the web links found on a page.

14 lines

542 bytes

 
Trivial Email List Server

mailserver.r

10-Sep-1999

As simple as a list server gets.

15 lines

1090 bytes

 
CGI Form with Defaults

cgiformobj.r

19-Jul-1999

Handles a CGI form, providing default values for missing fields in the form. Returns a web page. (The associated cgiform.html file contains the form).

16 lines

1213 bytes

 
Email Auto-reply

mailautoreply.r

10-Sep-1999

This example confirms email received from "friends" only. All others will be ignored.

16 lines

990 bytes

 
Email Headers

mailheader.r

10-Sep-1999

Send email with a custom header.

16 lines

507 bytes

 
Test FTP Commands

ftpdemo.r

24-Jun-2001

Demonstrate ftp commands and results

16 lines

930 bytes

 
CGI Query String Decoder

cgidecode.r

21-May-1999

Parses a CGI query into a list of words and values.

18 lines

1072 bytes

 
Email Files as Compressed

mailfilescomp.r

10-Sep-1999

This example sends a group of files (binary or text) as a single compressed text message.

18 lines

869 bytes

 
Simple Emailer

simple-mail.r

24-Oct-1998

A simple script, which uses the e-mail capabilities of REBOL in a more user friendly way.

18 lines

1276 bytes

 
Time Web Pages

timewebs.r

18-Dec-1997

Time how long it takes to get each of the web pages listed in a block.

19 lines

942 bytes

 
Email Spam Filter

despam.r

6-Jun-1999

Filters spam by removing all messages from your incoming email that were not sent directly to you. Valid email is not affected and remains on server.

22 lines

1090 bytes

 
Email Viewer (as web page)

mailview.r

10-Sep-1999

This example displays all of your pending email as an HTML web page. (But does not remove it.)

22 lines

1181 bytes

 
Form Letter

formletter.r

10-Sep-1999

Example of how to create an email form letter.

23 lines

866 bytes

 
Save to Mailbox File

mailboxsave.r

10-Sep-1999

This example reads email and appends it to a standard mailbox file (which can be read by most email apps).

23 lines

1186 bytes

 
WHOIS Maker

whoismaker.r

30-May-2000

WhoIs query, parse, and save as a file

25 lines

1270 bytes

 
CGI Web Page Comment Poster

cgicomment.r

14-Sep-1999

Allows viewers to add comments to a web page. (needs webcomment.r to create example forms file).

27 lines

3115 bytes

 
Deluxe Email Spam Killer

maildespam.r

10-Sep-1999

This is an example of a simple email filter that removes unwanted junk mail from your mailbox.

30 lines

1636 bytes

 
Download and Extract REBOL Library

copy-lib.r

28-May-2001

Download REBOL library and extract all its files.

37 lines

1476 bytes

 
URI

uri.r

3-Jul-2002

URI parse rules.

38 lines

1703 bytes

 
Email Blaster

blast.r

22-Jun-2000

Send an email to everyone on a spreadsheet of email addresses. Personalize the greeting for each. Keep a log of who was been sent the message.

40 lines

1725 bytes

 
Easy CGI Form (HTML Part)

cgiformhtml.r

19-Jul-1999

HTML form to go with Easy CGI example (cgiform.r).

42 lines

1292 bytes

 
REBOL Locking System

lock-file.r

23-Jun-1999

To provide functions for voluntary resource locking in rebol

43 lines

2612 bytes

 
Micro Web Server

webserver.r

10-Jun-2000

Here is a web server that works quite well and can be run from just about any machine. It's not only fast, but its also small so it's easy to enhance.

44 lines

2043 bytes

 
REBOL Web Crawler

webcrawler.r

16-Sep-1999

To crawl the web starting from any site. Does not record duplicate visits. Saves all links found in 'newlinks.

45 lines

1774 bytes

 
CGI Emailer Form (HTML Part)

cgiemailhtml.r

20-Jul-1999

HTML form to go with CGI Emailer example (cgiemailer.r).

48 lines

1624 bytes

 
Count and Download

counload.r

20-Jul-2001

Downloads numbered filenames from the internet.

54 lines

2387 bytes

 
rmoocks

rmoocks.r

12-Jan-2002

Emulates, with a few lines of Rebol code, the "CommServer" flash XML socket server from Moock and Clayton.(see www.moock.org for the flash client.) The server sends a simple xml doc like numclients as soon as someone enters or leaves the server. By updating and comparing the old and updated value of numclients, The Flash client knows if someone has entered or left the room. Plus: if a numclient is received as the text field is empty, the client displays its welcome message. Simple and efficient :) This script adds a user limit feature. I am currently discovering Rebol and try to use it with Flash. This is my first script, be indulgent :) My current project is a flash multiuser socket server handling advanced options (rooms and user variables storage). **************************************************************************************** Special thanks to Olivier Auverlot, check his website: http://rebolfrance.multimania.com ****************************************************************************************

61 lines

3456 bytes

 
Link Maintainer

add-link.r

15-Sep-1999

Cgi for maintaining links to REBOL materials

62 lines

2011 bytes

 
tftp-client

tftp-get.r

13-Oct-2002

get file from tftp daemon, could be modified as scheme, needs perfection on write to disk!

64 lines

3935 bytes

 
3KB News Reader

3kbnewsreader.r

28-Jun-2000

Simple CLI news reader.

67 lines

3847 bytes

 
Jobbot Email Server

jobbot.r

8-Sep-1999

The email server we use for processing job related email.

73 lines

2597 bytes

 
Handy Server Monitor Window

monitor.r

2-May-2002

A handy script that monitors various servers (such as web and email servers) and displays them in a nice little status window.

75 lines

2718 bytes

 
Wikipedia Library

wikilib.r

2-Jan-2003

Provide tools in Rebol to interact with Wikipedia

75 lines

3240 bytes

 
The rugby mobile code console

rugby-console.r

22-Aug-2001

A P2P console for Rebol/Rugby

80 lines

3672 bytes

 
Digital PCS Phone Pager

pcspager.r

12-Jun-2000

Check e-mail account for messages, then process for paging to a Digital PCS phone. The processing includes chopping message/sender lengths and url-encoding. My cellular company wanted an extra $3/month just to give me an e-mail address that does what this script does. (Can you believe that? $3!) My PCS provider is Cantel AT&T in Canada. You'll need to modify the script to work with your PCS carrier if you're not on Cantel.

84 lines

4420 bytes

 
Search Center

search.r

3-Jan-2002

Uses various resources for various searches without having to go to their website.

96 lines

3446 bytes

 
Search Center

search2.r

4-Nov-2001

Searches various places,such as Google, without having to go to their website .

96 lines

3413 bytes

 
REBOL Directory Services Lookup

lookup.r

1-Jun-2001

Provides a simple but effective directory server for peer-to-peer and other types of REBOL applications. Can be installed on any CGI webserver.

98 lines

3672 bytes

 
RC7 server

rc7-s.r

4-Nov-2002

RC7 is server for multiuser editing of preset, virtual, textual contents with locking and access controll. To work you need other files(this is just main file). Download them at www.mind-nest.com.

98 lines

8764 bytes

 
Simple HTTP POST

http-post.r

30-Jun-1999

This script sends a "form" to a webserver using the POST method. The included example translates a string in English to German by posting the data to AltaVista's translation web page and then parsing the reply.

105 lines

3585 bytes

 
Bouncing ball

ball.r

15-Sep-1999

A ball bounces from one networked computer's screen to the next.

107 lines

5008 bytes

 
Little-bell

little-bell.r

8-Jul-1999

Rudimentary Telnet client written in REBOL.

108 lines

4732 bytes

 
Cellphone reminder

remind.r

16-Jun-2000

Reads a file 'data.txt' containing appointment data, and sends my cell phone a text message 5 minutes before the appointment.

110 lines

5436 bytes

 
Telnet protcol scheme

telnet.r

6-Jul-2001

A telnet protocol scheme

2 pages

4800 bytes

 
Web Site Builder

build-site.r

3-Jun-1999

The actual script that builds the REBOL web site (using a master template and a navigation structure).

2 pages

5559 bytes

 
Telnet Chat

telnetchat.r

28-Jan-2002

A chat-server you can telnet to! ;o)

2 pages

4240 bytes

 
Web-GetIt!

wgetit.r

15-Feb-2003

Saves content of web pages to local disk.

2 pages

12569 bytes

 
RIM - REBOL Instant Messenger

rim.r

5-Jul-2001

A true peer-to-peer instant messenger.

3 pages

7943 bytes

 
Asynchronous Request Broker

rugby.r

21-May-2001

An asynchronous, high-performance, handler based, server framework and a rebol request broker...

4 pages

9580 bytes

 
Script Library Builder

build-lib.r

19-Jul-2001

Builds the REBOL library, including its HTML pages and compressed archive file, then uploads the files to the web site. Can also be used for making a local copy of the library index pages.

6 pages

15663 bytes

 
IRC Core client

irc-core.r

6-Dec-2002

There already are some Rebol IRC clients, but what I know, there was no clients running only in the console... so there is one...

6 pages

18908 bytes

 
Rebol-WebBot

reb-web-bot.r

17-Jan-2003

To download pages from some url with all content

7 pages

20993 bytes

 
headless the P2P console

headless.r

28-Nov-2001

A world wide console, headless

7 pages

20775 bytes

 
Headless

headless1.r

28-Nov-2001

A P2P console

7 pages

20725 bytes

 
Rugby client and server

rugby_server.r

28-May-2001

A high-performance, handler based, server framework and a rebol request broker...

7 pages

17838 bytes

 
Wiki

wiki.r

3-Jul-2002

Wiki. Creates a Wiki using Rebol, and the Xitami web server.

8 pages

17867 bytes

 
REBOL news Protocol $Revision: 1.8 $

nntp.r

16-Mar-2001

Read and post news articles

9 pages

21064 bytes

 
Rugby

rugby3.r

8-Aug-2001

A high-performance, handler based, server framework and a rebol request broker...

13 pages

23154 bytes

 
Rugby

rugby4.r

15-Aug-2001

A high-performance, handler based, server framework and a rebol request broker...

16 pages

28910 bytes

 


The line count is for code lines only and is used as a rough estimate of code size. It does not include script headers, blank lines, or comment lines.

To add or modify a file, run REBOL/View and click on the Add-Script icon in the Library folder. Be sure that the script has a REBOL header that describes its purpose.

You can download the entire library as a compressed, self-extracting REBOL archive. The file is 585 KB and requires REBOL to extract. You may need to right click on this link to save the file in some browsers.

Once you have extracted the files, you can build these HTML index pages locally by running the build-lib.r script.

Note: All scripts are provided AS IS without warranty and without liability to the author or to REBOL Technologies.

REBOL is a trademark of REBOL Technologies.