FTPManager (Social Portal ASL Extension 1.1.0-4.1.0-132891 API)
Date: 2016-10-27

org.gcube.applicationsupportlayer.social.storage

## Class FTPManager

- java.lang.Object
- - org.gcube.applicationsupportlayer.social.storage.FTPManager

-     public class FTPManager
      extends Object

  Author:
    Massimiliano Assante, ISTI-CNR

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getBaseURL()`
    `static FTPManager` | `getInstance()`
    `String` | `uploadImageOnFTPServer(InputStream previewThumbnailInputStream, org.gcube.portal.databook.shared.ImageType imageExtension)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getInstance

          public static FTPManager getInstance()

    - #### uploadImageOnFTPServer

          public String uploadImageOnFTPServer(InputStream previewThumbnailInputStream,
                                               org.gcube.portal.databook.shared.ImageType imageExtension)

      Parameters:
        `previewThumbnailInputStream` - .
        `imageExtension` - .
      Returns:
        the http url of the image uploaded on the ftp server

    - #### getBaseURL

          public String getBaseURL()
                            throws Exception

      Throws:
        `Exception`

Copyright © 2016. All Rights Reserved.