}
public List<String> getFileList( String destinationDirectory )
throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException
{
InputData inputData = new InputData();
if ( destinationDirectory.length() > 0 && !destinationDirectory.endsWith( "/" ) )
{
destinationDirectory += "/";
}
String url = buildUrl( destinationDirectory );
Resource resource = new Resource( destinationDirectory );
inputData.setResource( resource );
fillInputData( inputData );
InputStream is = inputData.getInputStream();
if ( is == null )
{
throw new TransferFailedException(
url + " - Could not open input stream for resource: '" + resource + "'" );