Forum: Netzwerke
Delphi
by Björn Ole,
27. Aug 2008
Dein erster Versuch war schon fast richtig:
uses
IdHTTP, IdMultiPartFormData;
procedure PicUpload(BildPfad);
var
IdHTTP: TIdHTTP;
Stream: TIdMultiPartFormDataStream;
slWork: TStringList;
Forum: Netzwerke
Delphi
by Björn Ole,
26. Aug 2008
Hallo.
Dort findest du ein Beispiel, wie ein Bild an einen anderen Bildhoster gesendet wird:
http://www.delphipraxis.net/internal_redirect.php?p=919071#919071
Für PicUpload.org brauchst du folgende FormFields:
AddFormField('upload', '')
AddFormField('MAX_FILE_SIZE', '10485760')
AddFormField('upload_von','computer')