rejetto forum

HFS upload issue

0 Members and 1 Guest are viewing this topic.

Offline george2209

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
Hi

I am thinking to propose to my clients to use the HFS for transfering the files from the mobile phones to their computers. The reason is the limitations on the mobile phone side and HFS can nicely solve this..

My issue is that I have to "emulate" the HTML upload form...and it does not really work.

I've made a folder x123 (it is also a real folder on HDD). I've give upload rights to anyone for it.

Request:

POST /x123 HTTP/1.1
Host: 192.168.0.2
Content-Type: multipart/form-data, boundary=Y0UreIzL8NdSLWzPHPSDjdPKnDd9ZLyk
Content-Length: 191

--Y0UreIzL8NdSLWzPHPSDjdPKnDd9ZLyk
Content-Disposition: form-data; name="temp.txt"; filename="temp.txt"
Content-Type: text/plain

12341 12342 12343

--Y0UreIzL8NdSLWzPHPSDjdPKnDd9ZLyk--


And on the server side when I take a look inside the temp.txt file I found this content (some Boundary character are also added inside!!)

12341 12342 12343

--Y0UreIzL8Nd



What am I doing wrong?

Server version is 2.2f

Thank you in advance!
George


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13307
    • View Profile
could you please test it with HFS 2.3 ?