idFtp, proxy question re

Giganews Newsgroups
Subject: idFtp, proxy question re
Posted by:  E Jourde (e.jour…@apli.fr)
Date: Fri, 10 Dec 2004

ok !

i put this :

Try

IdFTP1.Username:='clients';

IdFTP1.Password:='XXXXX'; // -> the true in real ! ;)

IdFTP1.Passive:=false;

idftp1.ProxySettings.Host := '192.168.1.122';

idftp1.ProxySettings.UserName := 'alpi';

idftp1.ProxySettings.Password := 'toto';

idftp1.ProxySettings.Port := 212;

idftp1.ProxySettings.ProxyType := fpcmUserPass;

IdFTP1.Connect('www.alpi.fr');

s := idftp1.SystemDesc;

If FileExists('c:\toto.txt') Then DeleteFile('c:\toto.txt');

IdFTP1.Get('readme.txt', 'c:\toto.txt');

Except

End;

I use CCproxy for test (free for 3 users).

If i remove identification required in the ccproxy program, all is good. But

when i want use a user/password i got the execpetion : 'Buffer start

position is invalid.' !

I make some tests by trying all ProxyType and Passive value ! but nothing !

Thanx

E.Jourde

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> a écrit dans le message

news:<BD6C273A64B7E240no.spam@no.spam.com>...

> "E Jourde" <e.jour…@apli.fr> wrote in message

> news:BECF06E562B7E240e.jour…@apli.fr...

> > we developped a update programm, when i try to use a proxy

> > identification (with Indy 10 and Delpi 6) , i got a execpetion :

> > 'Buffer start position is invalid.'

> Your descripton is much too vague. Please show your actual code, describe

> your actual setup, etc. Please provide specific steps to reproduce the

> problem.

> Gambit

--

No virus found in this outgoing message.

Checked by AVG Anti-Virus.

Version: 7.0.289 / Virus Database: 265.5.0 - Release Date: 09/12/2004

Replies