또 질문하네요 ^^
Http를 이용해서 파일 업로드를 하고 싶습니다
(구글 검색에서 나온 소스입니다)
이렇게 했을때
Socket Error #10053
Software caused connection abort
에러가 나네요
다운로드가 잘 되는거 보면 서버에는 이상이 없는거 같은데 에러가 왜 날까요
var
Datei: TFileStream;
begin
if (OpenDialog1.Execute) then
Datei := TFileStream.Create(OpenDialog1.FileName, fmOpenRead);
try
IdHTTP1.Put('/test.zip',Datei);
finally
Datei.Free;
end;
end;
|