Autor Beitrag
TimonWorld
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Do 01.01.04 17:24 
Hallo an alle!

Ich hab mal eine Frage :?: - Ich hab an einem Homepagepageprogramm gebastelt und nun soll er nach Passwort und Benutzer-Abfrage nur die HTML-Daten ins Net senden. Aber wie? :nixweiss:

:!: Wäre nett vonn euch, wenn ihr eine Antwort wüsstet!

THX

:wink: Timon


Zuletzt bearbeitet von TimonWorld am Mo 05.01.04 18:14, insgesamt 2-mal bearbeitet
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 01.01.04 17:47 
Titel: die
die indy komponenten haben eine ftp schnittstelle...damit kannst du das realisiren..

demos sind dabei..

www.nevrona.com/indy

Gruß

ixtreme.de
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Sa 03.01.04 19:44 
:roll: INDY? - Geht das denn nicht ohne Kompo???
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: Sa 03.01.04 20:25 
Nimm Client-/Serversockets.
Dann brauchst du nur noch das Protokoll für FTP und schon kanns losgehen.

_________________
If accidentally read, induce vomitting.
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Sa 03.01.04 21:11 
ich blick da nicht mehr durch!?!?!?!? geht das überhaupt mit d6pers???
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Sa 03.01.04 22:34 
lass dich von ExOrzist nicht verwirren...

Lad die, wenn nicht schon geschehen die Indy Komponenten für Delphi 6 runter: www.nevrona.com/indy

und dann machst du es ca wie folgt:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
procedure TForm1.Button1Click(Sender: TObject);
begin
idftp1.host := 'ftp.domain.de';
idftp1.username:= 'username';
idftp1.password := 'password';
idftp1.Connect();
idftp1.Put('c:\lokaledatei.htm','/zieldatei.htm');
idftp1.Disconnect;
end;


nur ein kleines beispiel für den upload einer datei...

Gruß

ixtreme.de

Moderiert von user profile iconDeCodeGuru: Code- durch Delphi-Tags ersetzt...
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 04.01.04 02:22 
TimonWorld wollte wissen, ob das ohne Extrakomponente geht.
Mit den Client- und Serversockets geht es auf jeden Fall, allerdings weiss ich nicht, ob die bei D6 Personal dabei sind.

Wenn du ganz ohne Komponenten auskommen willst, musst du es mit der WinApi und der Winsock.dll machen. Das ist aber ein enormer Aufwand. :wink:

_________________
If accidentally read, induce vomitting.
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: So 04.01.04 12:28 
ja aber du hast gesagt mit den client server socket komponenten...und das sind auch kompos...also...

gruß
ixtreme.de
Ex0rzist
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 550

Win XP Prof.
Mandrake 10.0

D6
BeitragVerfasst: So 04.01.04 14:14 
Ohne jetzt hier zu kleinlich zu werden, aber ich habe was von Extra-Komponenten erzählt. TButton ist für mich zum Beispiel keine Extrakomponente, genausowenig wie Client- und Serversockets. :?

_________________
If accidentally read, induce vomitting.
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: So 04.01.04 17:50 
Wenn du es ohne Kompos machen willst, guck mal auf diese Seite:

www.luckie-online.de/files/demos/

Da ist ein Download namens FTP Client.
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Mo 05.01.04 17:45 
Der Beispieldownload is nix, da ich noch Anfänger bin und ohne form!?
Aber zurück zu den Indy: Ich hab mir Indy 9.0 gedownloaded und extrahiert - ich hab die datei fullD6.bat gestartet und anschließend delphi...
Wo sind jetzt die Kompos? Muss ich alle manuell in delphi installieren?!? :roll:
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Mo 05.01.04 17:53 
Ok- hat sich erledigt hab das ganze Pack (bpl) reinbekommen - jetzt nur ne frage welche kompo soll ich den davon nehmen???
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mo 05.01.04 17:55 
Unter Indy Clients die idftp1 Komponente!

Dann gehts mit meinem Beispielcode oben!

gruß

ixtreme
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Mo 05.01.04 17:59 
wenn du mir noch sagen könntest in welcher rubrik die ist? Clients, Servers... ???
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Mo 05.01.04 18:01 
uups hab mich verlesen CLIENTS 8-)
TimonWorld Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 397



BeitragVerfasst: Mo 05.01.04 18:08 
Es geht!

Hier die Test-seite: www.dwt-service.de/test.htm
ixtreme
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mo 05.01.04 18:22 
bitte


ixtreme.de