raben / Akamai

Akamai NetStorage HTTP API for PHP-PEAR.
MIT License
7 stars 6 forks source link

File Upload in IIS server #8

Open sridhar2392 opened 8 years ago

sridhar2392 commented 8 years ago

I couldn't upload a file in IIS server but i can in localhost (wamp, xampp). Is there anything I'm missing ?

talk2cerlin commented 8 years ago

authentication is happening successfully? please check if the file upload is not happening after successful authentication.

sridhar2392 commented 8 years ago

If i try to use print_r($service); after the authorization line, i get the status as "0" for authorization. My credentials are correct. Is there any dependency that i should add for this code to work.

talk2cerlin commented 8 years ago

check your server time. even a 10 seconds difference would make your request invalid. make sure your server time is same as internet time. You can use some tools to sync the time

sridhar2392 commented 8 years ago

It is working on localhost (wamp, xampp) but not in IIS. In WAMP i added curl ssl local certificate. Is there any certificate that i need to add in IIS server. ?