🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #2185

IdFTP problem

#2185
From: David Ayre
Date: Fri, 14 Jul 2006 14:57
36 lines
1961 bytes
Hi,

I have written a little ftp programme which works fine on my
computer which has Win XP Pro. I have tried it on a friend's system
and it comes up with this error message:-
Socket Error # 10055  no buffer space available.
I tried it on another system that had several computers on a
network and it worked fine on one but gave the Socket error on
another. I have set it up for a passive connection.
This is the code for the connection:-

	TStringList *SL = new TStringList;
	IdFTP1->Passive = true;
	IdFTP1->Connect(true,10000);
	Application->HandleMessage();
	if(!IdFTP1->Connected())Application->MessageBoxA("Not Connected","ERROR",MB_ICONEXCLAMATION | MB_OK);

	ListBox1->Clear();
	IdFTP1->TransferType = ftASCII;
	IdFTP1->ChangeDir("/lscpit/time/downloads");
	IdFTP1->List(SL,"*.*",true);
	ListBox1->Items->Assign(SL);
	

	IdFTP1->Quit();
	delete(SL);

All it should do is fill a listbox with the filenames in a
folder on my website. As I said, works on some but not other
computers and hoped that someone could give a suggestion as to
where I should look to find the problem.

Cheers,

David
Technical Details
Message-ID: <44b7b0d0$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,117ad7250680adca,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Ayre" <davidcayre@ntlworld.com>
Sender: "David Ayre" <davidcayre@ntlworld.com>
Reply-To: "David Ayre" <davidcayre@ntlworld.com>
Subject: IdFTP problem
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 62.252.224.18     
X-Forwarded-For: 81.96.132.239
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44b7b0d0$1@newsgroups.borland.com>
Date: 14 Jul 2006 07:57:20 -0700
X-Trace: newsgroups.borland.com 1152889040 207.105.83.66 (14 Jul 2006 07:57:20 -0700)
Lines: 36
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail