problem mit NMFTP & Proxy Einstellung.
-
Hallo zusammen,
Ich versuche einen FTP-Client zu zu schreiben. Mit einer direkten Verbringung klappt alles. Mit der Proxy Einstellung bekomme ich keine Verbindung. Hat jemand schon ähnliches Problem mit dieser Komponente?
Meine Code
[code]
[cpp]
if (CheckBox1->Checked)
{
NMFTP->Proxy = Edit4->Text;
NMFTP->ProxyPort = StrToInt(Edit5->Text);
}
NMFTP->Vendor = NMOS_AUTO;
NMFTP->Host = HostTxt->Text;
NMFTP->Port = StrToInt(PortTxt->Text);
NMFTP->UserID = UserTxt->Text;
NMFTP->Password = PassTxt->Text;
try
{
NMFTP1->Connect();
NMFTP1->Mode(MODE_BYTE);
SBar->Panels->Items[1]->Text="Connected";
}
catch(Exception &exception)
{
SBar->Panels->Items[1]->Text="Failed";
}
}Pasive mode habe auch schon auf True gesetzt.
Danke im Voraus.
Gruß
S.Mathi
