rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: 3304xfq on April 15, 2009, 09:07:26 AM
-
1.not support PUT COMMAND
2.not support WEBDAV ("Get":Down File,"Put" UP File,Edit File....)
-
webdav is in the to-do list.
you can read the list on the hfs website.
i guess your need of put is for webdav, so it's actually the same request.
-
var
F:THttpFileStream; //TFileStream+IDHttp
a:string;
begin
F:=TFileStream.Create('http://abc.com/1000GB.Data',Mode);
Mode:
fmOpenReadWrite Edit File
fmCreate Upload New File
setlength(s,100);
F.Postion:=100000;
F.read(s[1],1000); //http Get...RANGE Byte 100000-100000+10000 //OK!!!!
F.Write(s[1],1000); //Not Support . :'( :'( :'( :'(
f.free;
end;
HttpFileServer,Only Support Read, :'( :'( :'( :'( :'(
I do not speak English, can only use Pascal Code that I mean, sorry
-
i understand the code :)
can you post the HTTP request header related to F.Write(s[1],1000) ?
-
IIS,support HTTP File Read and Write
PUT /xxx HTTP/1.1
Host: localhost
Content-Length: 11
Content-Range: 123-133/*
abcdeabcdea
HTTP PUT :
http://chaoslawful.javaeye.com/blog/310327 (chinese)
-
:)