rejetto forum
May 25, 2012, 01:21:56 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Poll
Question: not support PUT COMMAND
PUT - 0 (0%)
WEBDAV - 0 (0%)
Total Voters: 0

Pages: [1]
  Print  
Author Topic: not support PUT COMMAND  (Read 1029 times)
0 Members and 1 Guest are viewing this topic.
3304xfq
Occasional poster
*
Offline Offline

China China

Posts: 4


View Profile
« on: April 15, 2009, 04:07:26 AM »

1.not support PUT COMMAND
2.not support WEBDAV  ("Get":Down File,"Put" UP File,Edit File....)
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #1 on: April 15, 2009, 04:59:58 AM »

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.
Logged
3304xfq
Occasional poster
*
Offline Offline

China China

Posts: 4


View Profile
« Reply #2 on: April 15, 2009, 09:20:07 AM »

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 . Cry Cry Cry Cry

f.free;
end;


HttpFileServer,Only Support Read,   Cry Cry Cry Cry Cry



I do not speak English, can only use Pascal Code that I mean, sorry
« Last Edit: April 15, 2009, 09:26:42 AM by 3304xfq » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11830


View Profile
« Reply #3 on: April 15, 2009, 09:40:46 AM »

i understand the code Smiley
can you post the HTTP request header related to F.Write(s[1],1000)  ?
Logged
3304xfq
Occasional poster
*
Offline Offline

China China

Posts: 4


View Profile
« Reply #4 on: April 15, 2009, 12:08:59 PM »

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)


* 新建 BMP 图像.JPG (55.55 KB, 462x308 - viewed 122 times.)
Logged
3304xfq
Occasional poster
*
Offline Offline

China China

Posts: 4


View Profile
« Reply #5 on: April 15, 2009, 12:10:37 PM »

 Smiley


* IIS_WebDir.JPG (55.55 KB, 462x308 - viewed 120 times.)
Logged
rejetto forum
« Reply #5 on: April 15, 2009, 12:10:37 PM »

Do you like this software? Consider even $2
 Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 23, 2012, 04:45:24 PM
anything