Autor Beitrag
Maweki
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 197

Ubuntu Linux
Lazarus
BeitragVerfasst: Mo 27.12.04 14:19 
Hallo

Es ist so, ich habe fuer mein Programm eine Internetupdatefunktion programmiert. Das funktioniert auch alles soweit richtig.
Bei den Executables zumindest.

Bei den Textdateien (die Dokumentation, Changelog usw.) werden die Zeilenumbrueche irgendwie zu unanzeigbaren Steuerzeichen.
Bisher lade ich das ganze mit UrlDownloadToFile runter. Ich wuerde auch etwas anderes nehmen, so ist das nicht...
Aber gibt es da ueberhaupt eine Moeglichkeit. DIe ganzen dateien einzuladen und zu bearbeiten ist leider nicht moeglich. Oder kann es am FTP-Upload-Modus liegen?

Gruesse Maweki
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 27.12.04 17:45 
bei textdateien kann es sein, dass wenn sie auf nem linux server liegen, auch die linux stuerzeichen für ein zeilenende bekommen.
meines wissen kann aber z.b. eine TStringlist auch mit diesen Linux Zeichen umgehen !

zum Downlaod kannst du aber auch die INDY kompos nehmen.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Maweki Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 197

Ubuntu Linux
Lazarus
BeitragVerfasst: Mo 27.12.04 23:18 
ja, danke, das hat wieder funktioniert. Und es war ein relativ leichtes einladen...
nix mit suchen und ersetzen. Danke, richtig super...
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Di 28.12.04 01:44 
vermutlich hat dein Programm beim FTP-Upload den modus nicht von Binary auf Ascii gewechselt.