ftp and the closing of ports.
[1/7] from: rebol:temecula-usa at: 1-Dec-2003 15:43
Hello,
I've been reading some of the posts regarding rebol's ftp. I am having an issue with
the closing of ftp ports. My host recently went to a 2 ftp connection limit (from the
same IP) and this has caused my 5 year old ftp scripts to fail.
What happens is this - I have a function that opens a port, writes a file then closes
the port. It only works once however because on the next call, the ftp server complains
I have reached the limit. At this point even testing is a bear because I have to wait
until the server closes the port to try again. It looks like the port really isn't closed.
I've attempted Brett Handley's "system/schemes/ftp/handler/cache-size: 0" but I get
an invalid path value error.
Any ideas?
Thanks,
James
[2/7] from: antonr:iinet:au at: 2-Dec-2003 12:52
He made a small mistake, try:
system/schemes/ftp/cache-size: 0
Anton.
[3/7] from: antonr:iinet:au at: 2-Dec-2003 13:22
Incidentally, you can find where the ftp
handler uses the cache-size setting by
doing this:
write clipboard:// mold system/schemes/ftp/handler
Then paste into a new text file and search for
cache-size
.
Anton.
[4/7] from: gchiu:compkarori at: 24-Dec-2003 22:50
On Mon, 1 Dec 2003 15:43:31 -0800
"rebol" <[rebol--temecula-usa--com]> wrote:
>I've attempted Brett Handley's
>"system/schemes/ftp/handler/cache-size: 0" but I get an
>invalid path value error.
That was a typo.
It should be
system/schemes/ftp/cache-size: 0
Romano's latest beta patch seems to fix the problem for
me.
--
Graham Chiu
[5/7] from: brett::codeconscious::com at: 3-Dec-2003 0:42
> I've been reading some of the posts regarding rebol's ftp. I am having an
issue with the closing of ftp ports. My host recently went to a 2 ftp
connection limit (from the same IP) and this has caused my 5 year old ftp
scripts to fail.
Unfortunately the cache-size parameter does not help this particular issue -
a bug.
As Graham wrote, Romano has a patch that solves this and other problems. It
is currently being tested. I'm not sure how close Romano is to releasing it.
Brett.
[6/7] from: rebol:temecula-usa at: 2-Dec-2003 13:06
Thank you all who sent great advice. The cache setting did the trick for my
application.
James
[7/7] from: john-harbaugh:earthlink at: 2-Dec-2003 17:57
I have un-subscribed from this list several times, and several times been told that I
am no longer a member.
I will keep sending this E-Mail until someone takes me off the list.