FTPManager (Social Portal ASL Extension 1.5.0-SNAPSHOT API)
Date: 2019-05-19

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 context)`
    `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(String context)

    - #### 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 © 2019. All Rights Reserved.