BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TidTrivialFTP and Server

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Guillem
Guest





PostPosted: Tue Jan 18, 2005 5:10 pm    Post subject: TidTrivialFTP and Server Reply with quote



Hi,

I'm updating an app from Indy 9 to Indy 10.0.20 using D2005 Proffesional,
and have following problem. On my client side I've got this code:

file := tfilestream.create(FileName, fmCreate or fmOpenWrite);
IdFTPClient.Active := true;
try
IdFTPClient.Get(MY_DIRECTORY_ON_SERVER + '' + FileName, File);
finally
IdFTPCliente.Active := false;
end;

Well, when the execution arrives to the Get, an exception is raised on the
server side saying "ERangeError" exception with message "RangeCheckError". I
first thought it was because my server was still Indy 9 while I had changed
already the client, but now both client and server are Indy 10 and I still
have this exception (which never occurred while both client and server were
Indy 9 components). And the file really exists on that directory.

Any idea? Thanks for help and best regards!
--
Guillem Vicens
Dep. informática Green Service SA
[email]guillemvicens (AT) clubgreenoasis (DOT) com[/email]
www.clubgreenoasis.com


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.