public class

FtpUtils

extends Object
java.lang.Object
   ↳ com.mule.modules.ftplite.FtpUtils

Summary

Public Constructors
FtpUtils()
Public Methods
static void releaseClient(FTPClient client)
static void uploadStream(FTPClient client, String fileName, InputStream content)
Protected Methods
static FTPClient createClient(String hostName, String port, String passive, String userName, String password, String path)
static FTPFile getFile(FTPClient client, String filePath)
static InputStream getFileContent(FTPClient client, String filePath)
static FTPFile[] getFiles(FTPClient client)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FtpUtils ()

Public Methods

public static void releaseClient (FTPClient client)

Parameters
client

public static void uploadStream (FTPClient client, String fileName, InputStream content)

Parameters
client
fileName
content

Protected Methods

protected static FTPClient createClient (String hostName, String port, String passive, String userName, String password, String path)

Parameters
hostName
port
passive
userName
password
path

protected static FTPFile getFile (FTPClient client, String filePath)

Parameters
client
filePath

protected static InputStream getFileContent (FTPClient client, String filePath)

Parameters
client
filePath

protected static FTPFile[] getFiles (FTPClient client)

Parameters
client