public class FTPFileSystem extends WebFileSystem
FileSystem.DirectoryEntry, FileSystem.FileSystemOfflineExceptionHTTP_CHECK_TIMESTAMP_LIMIT_MS, id, LISTING_TIMEOUT_MS, localRoot, logger, MEMORY_LISTING_TIMEOUT_MS, offline, offlineMessage, offlineResponseCode, PROP_OFFLINE, PROP_READ_ONLY_CACHE, protocolloggerUrl, NULL, PROP_CASE_INSENSITIVE, properties| Modifier and Type | Method and Description |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
downloadFile(java.lang.String filename,
java.io.File targetFile,
java.io.File partFile,
ProgressMonitor monitor)
Transfers the file from the remote store to a local copy f.
|
boolean |
isDirectory(java.lang.String filename)
return true if the name refers to a directory, not a file.
|
java.lang.String[] |
listDirectory(java.lang.String directory)
return the directory listing for the name.
|
addPropertyChangeListener, addRoCacheEntries, cacheListing, consumeStream, copyStream, getDownloadDirectory, getDownloadLock, getFileObject, getLastAccessed, getLocalName, getLocalName, getLocalRoot, getLocalRootAbsPath, getOfflineMessage, getOfflineResponseCode, getPartFile, getProtocol, getReadOnlyCache, getRootURL, getURI, getURL, isAppletMode, isGitClone, isListingCached, isOffline, listDirectory, listDirectoryFromMemory, listingFile, localRoot, maybeUpdateDirectoryEntry, removePropertyChangeListener, resetListCache, resetListingCache, setAppletMode, setOffline, setReadOnlyCache, toStringcreate, create, create, create, create, create, createFileSystem, getExceptionHandler, getListing, getListing, getProperty, getRootURI, listDirectory, listDirectory, listDirectoryDeep, peek, peekInstances, recreate, recreate, registerFileSystemFactory, reset, reset, setExceptionHandler, settings, splitUrl, toCanonicalFilename, toCanonicalFolderName, toCanonicalFolderNamepublic boolean isDirectory(java.lang.String filename)
WebFileSystemisDirectory in class WebFileSystemfilename - the namepublic java.lang.String[] listDirectory(java.lang.String directory)
WebFileSystemlistDirectory in class WebFileSystemdirectory - the directory name within the filesystem.for listings constrained by regular expressions.protected java.util.Map<java.lang.String,java.lang.String> downloadFile(java.lang.String filename,
java.io.File targetFile,
java.io.File partFile,
ProgressMonitor monitor)
throws java.io.IOException
WebFileSystemdownloadFile in class WebFileSystemfilename - the name of the file, relative to the filesystem.targetFile - the file to where the file is downloaded.partFile - the temporary file during download.monitor - progress monitorjava.io.IOExceptionWebProtocol.getMetadata(org.das2.util.filesystem.WebFileObject)