Autor Beitrag
fcg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Di 13.01.04 15:47 
hi

ich habe folgenden Code hier:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
 FTP1.RemoteHost := '...';
 FTP1.UserID := '...';
 FTP1.Password := '...';
// FTP1.RemotePort := 21;
 FTP1.Connect('..',21);
 If FTP1.State=prcConnected  Then
  ShowMessage('Verbunden')
  Else
  ShowMessage('Nicht Verbunden');


Nun sagt er mir aber immer wieder, dass ich nicht verbunden sei!! warum???? (Daten stimmen alle)

und: wie kann ich eine Datei um Server senden?

fcg

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Di 13.01.04 16:48 
Bei Delphi3 gibts ne FTP-Demo. Hast du die dir schonmal angeschaut?

mfG
mirage228

_________________
May the source be with you, stranger.
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 13.01.04 16:55 
Jo, oder du ziehst dir die Indy-Kompos, oder aber du machst das alles auf WinAPI-Basis, von diesen Möglichkeiten ist die mit der Delphi-Hilfe wohl die einfachste.

_________________
...To err is human, but to really foul things up requires a computer.
mirage228
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 338

Win 7 Prof.
Delphi 2005 Prof., Delphi 2010 Prof.
BeitragVerfasst: Di 13.01.04 17:05 
Indey gibts nicht für Delphi3 :!:

Er müsste dann die WinSocks nehmen...

mfG
mirage228

_________________
May the source be with you, stranger.
fcg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 360

WinXP
D3 Prof, D6 Pers
BeitragVerfasst: Di 13.01.04 18:55 
ja das war mein Problem. Bei meiner Delphi3 Version fehlt diese Demo....

//Edit: Habe die Demo mir von nemFreund gehohlt.. Allerdings bleibt mein Problem das selbe: Wenn ich das ganze auß meinem Programm starte, verbindet der nicht :-(

_________________
.: Wer für alles offen ist, kann nicht ganz dicht sein! :.