Sign in to follow this  
Followers 0
giantsoft

Http post upload file to shared web hosting

2 posts in this topic

I use http.au3 to do http upload, and upload to shared web hosting (dreamhost)

It will use TCPConnect to create socket connection and convert domain name to IP.

But the web hosting can't work with IP.

I wonder if any way to workaround?

 

 

Thanks!

 

 

Share this post


Link to post
Share on other sites



You need to set "Host" http header field. That's how server on shared hosting knows where to redirect the request.

Besides, HTTP/1.1 mandates "Host" field.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0