Hi All,
I want to upload files to a server which is also owned by me. I could think of two ways, of how this can be achieved.
Method1: Use HTTP POST request to upload the files. The standard way of uploading files.
Method2: Its a two step process. First the client does a POST request with all the details of the file, to the server. Then the server issues Get request(s) onto the client to get the contents of the file.
Here method2 seems to be more secure, as the server is in control. The server can request data from the server only when the server feels it to be appropriate, and restrict the amount of data that needs to be transferred.
Still i am confused as i am not an expert in this area. Anyone with more hindsight thoughts on this can you please share.
Thanks