How to Upload the files to Server From unity

Hi All

In my project i have to upload images to the server. Now i am beginning. Which one is the
best way and easiest way for uploading the images from unity.

. Aws or Google Drive or something better.

I have to upload the images . when i given the path . I should view it in Web Browser.

Is there any asset package availabe. Can any one share the few source to upload the files in the server.

How can i do it…

There is no ‘the server’. You need to know the server protocol you want/need to interface with, and then code accordingly.

If your server supports ftp/http (e.g. Apache, Tomcat, Nginx) you can use Unity’s web service.

Once you have found out what server protocols to support, you can then write your client code. If it doesn’t work, I’m sure we’d be happy to help you debug. But you’d have to write the client first.

2 Likes

Thanks csofranz for ur reply,

I have aws account. where the server supports ftp/http. I have found less code in uploading image to the aws. (unity source code)

any one provide some source for uploading images from unity…

thanks in advance…

There is the .NET SDK for AWS, which should be compatible with Unity according to the docs.

You could then upload to S3 like so: