 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guillem Guest
|
Posted: Tue Jan 18, 2005 5:10 pm Post subject: TidTrivialFTP and Server |
|
|
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 |
|
 |
|
|
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
|
|