How to connect Java desktop application to cloud?
<p>I have been asked to develop a desktop application which will connect to the cloud. The desktop application will need to upload and download files to and from the cloud storage. </p>

<p>I have developed the interface which is simplistic and easy to use. It allows the user to upload a file (any format) to the cloud by selecting the file on the host computer and storing it on the cloud. The interface shows a list of files which will be stored on the cloud, then the user can select a file from the cloud and download such to the host computer. </p>

<p>I am struggling to identify the correct way of connecting the desktop application to the cloud such as google drive cloud or Dropbox cloud. Can anyone please advise me on which SDK or way in which I will need to use to connect the app to the cloud.</p>

<p>I have seen that there is many web based applications, but I need the application to be desktop based and just connect to the cloud for files.</p>

<p>It would be tremendously helpful if someone would be able to help me out with the connection to the cloud and I can work from there.</p>

<ul>
<li>Which API or SDK to use</li>
<li>Connecting desktop application to cloud for file access</li>
<li>How to specify username and password for cloud access</li>
</ul>

<p>I would appreciate any help or information which anyone can provide in helping me connect my desktop application to the cloud server such as Google cloud.</p>

<p>I apologize upfront for not being very specific, I have tried to make my question as specific as possible.</p>