🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1822

Re: Uploading content of a folder - read timeout error - source code required...

#1822
From: Nicolae Fieraru
Date: Thu, 15 Jul 2004 16:16
40 lines
2554 bytes
Dear Mark,

Thank you very much for your advice. It seems it solved my problem. I tried
with a block of 2048 bytes and it passed easily the point where my program
was timing out. Almost every time before it was blocking at the end of the
same file.
I was thinking if that block isn't too big (32 KB) and I tried with 16KB.
And just before your message I decided to reduce it to 8KB, but it still
timed out. Eventually maybe I would have decreased it even lower, but I
didn't think this will solve the problem...

And now the program just finished transferring all the files for the very
first time :-)

Best wishes to everybody,
Nicolae




"Mark Jacobs" <markj atty critical dotty co dotty uk> wrote in message
news:40f6a51a@newsgroups.borland.com...
> It may be that your block upload size is too big. I am not well-versed in
the
> FTP protocol, but in TCP/IP you are best advised to keep blocks at around
2048
> bytes tops. More preferable is a block size of 512 bytes. I think it takes
> longer (and is more dodgy) to get an acknowledgement of the transfer of a
> block as big as 16K, or the ACK is being lost at the end because the last
> block smothered it. This is only a guess, but since it is so easy to
change
> the block size in Indy, can you let us know what happens with 512 bytes
> instead of your 16K? TIA,
> -- 
> Mark Jacobs
> DK Computing
> http://www.dkcomputing.co.uk
> markj atty critical dotty co dotty uk
>
>
Technical Details
Message-ID: <40f6adde@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40f53800@newsgroups.borland.com> <40f566bf$1@newsgroups.borland.com> <40f61327@newsgroups.borland.com> <40f684fe$1@newsgroups.borland.com> <40f6a339@newsgroups.borland.com> <40f6a51a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,f0221a83e98ee596
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Nicolae Fieraru" <nospam@please.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <40f53800@newsgroups.borland.com> <40f566bf$1@newsgroups.borland.com> <40f61327@newsgroups.borland.com> <40f684fe$1@newsgroups.borland.com> <40f6a339@newsgroups.borland.com> <40f6a51a@newsgroups.borland.com>
Subject: Re: Uploading content of a folder - read timeout error - source code required...
Date: Fri, 16 Jul 2004 02:16:26 +1000
Lines: 42
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 203.122.213.16
Message-ID: <40f6adde@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089908190 203.122.213.16 (15 Jul 2004 09:16:30 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail