STERLING:

I used to get multiple "connecting to..." messages also.
As stated in several of my previous messages,

My script would halt after about 16 connections - very frustrating...

I noticed the problem went away when I started using 
the DNS name rather than the IP address.

Must have something to do with this.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 21, 1999 2:12 PM
To: [EMAIL PROTECTED]
Subject: [REBOL] FTP Problem - Multiple Connections Re:



REBOL attempts to maintain one connection per site contacted.  If more 
connections are being made, you should see a message like "connecting
to site-name" on the REBOL console.  I tested your script here and it
finished flawlessly with only one connection made.

So when you run it, does it print out multiple "connecting to ..."
messages?

Sterling

> I have a problem that I hope can be solved.  I operate several websites 
> and would like to make a script to upload the site data whenever there is 
> a change.  My goal is to use Rebol.
> 
> I wrote the script below to move an entire site at once.  I tested 
> uploading to one of my internal servers (at home) and it worked like a 
> champ.  So, I then went to upload my data to my real website and I 
> received an error stating that only one {1} FTP connection was allowed at 
> any given time.
> 
> Because of that, I went back to my internal servers and monitored the FTP 
> connections, and sure enough, 5 Connections were generated by the script 
> below (it moves about 30 files in total - a very small, test website). 
> These connections persisted until I shutdown Rebol.
> 
> My question is, how do I open an FTP connection, write to that connection 
> as many times as I like, and then close that connection, all while 
> maintaining only one {1} connection to the FTP Server?
> 
> Thank-you,
> Victor Mascari

Reply via email to