Autor Beitrag
Sauger Chris
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Mo 03.01.05 17:38 
hi ich will eine text datei auf meinen webspace von lycos uploaden
was mache ich falsch ???

ps. habe schon ein paar sachen vom board ausprobiert aber geht auch nicht :?:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
procedure TForm1.Button2Click(Sender: TObject);
var List: TStrings;
begin
//////////////////////////////////
List := TStringList.Create;         
List.Add(neu.Text);                        // neue ip wird als "neue ip.txt gespeichert
List.SaveToFile('.\neue ip.txt');
/////////////////////////////////
idftp1.Connected;
if idftp1.Connected then
begin
 with idftp1 do try
 Host := 'ftp.mitglied.lycos.de/*****/****/server%20ip/';
    Username := '*******';            
    Password := '*******';
    Connect;
    Put('.\neue ip.txt','ip.txt', true);
  finally

    end;
  end;end;


Danke für eure hilfe :)

MfG Sauger chris

Moderiert von user profile iconChristian S.: Code- durch Delphi-Tags ersetzt.
bis11
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1247
Erhaltene Danke: 2

Apple Mac OSX 10.11

BeitragVerfasst: Mo 03.01.05 18:12 
Erst mal würde ich sagen, das ein End fehlt und dann hast Du keine Anweisung, nach finally stehen. Meines Wissens musst Du dort noch eine Anweisung schreiben, wenn die Datei fertig ist.

Welche Fehlermeldung kommt denn ?
Sauger Chris Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Mo 03.01.05 18:23 
es kommt keine Fehlermeldung die datei wird nicht auf dem webspeac erstellt
?????

ps. die login daten sind richtig eingegeben
und der speicher ort auch



MfG sauger chris