- runYjftp :: CommandList -> IO ()
- type CommandList = [(String, Command)]
- defaultCommandList :: CommandList
- getAction :: Command -> Action
- getHelp :: Command -> String
- getComp :: Command -> FTPConnection -> String -> IO [String]
- quitFTP :: Action
- systemFTP :: Action
- pwdFTP :: Action
- listFTP :: Action
- directoryFTP :: Action
- changeDirectoryLocal :: Action
- changeDirectoryFTP :: Action
- getFileFTP :: Action
- putFileFTP :: Action
- showFileFTP :: Action
- removeFileFTP :: Action
- makeDirectoryFTP :: Action
- removeDirectoryFTP :: Action
- moveFileFTP :: Action
- copyFileFTP :: Action
- editBy :: (String -> IO String) -> Action
- readBy :: (String -> IO String) -> Action
- getEnv :: String -> IO String
- const2 :: a -> b -> c -> a
- compRemoteFile :: FTPConnection -> String -> IO [String]
- compLs :: FTPConnection -> String -> IO [String]
- filenameCompletionFunction :: String -> IO [String]
Documentation
runYjftp :: CommandList -> IO ()Source
type CommandList = [(String, Command)]Source
directoryFTP :: ActionSource
changeDirectoryLocal :: ActionSource
changeDirectoryFTP :: ActionSource
getFileFTP :: ActionSource
putFileFTP :: ActionSource
showFileFTP :: ActionSource
removeFileFTP :: ActionSource
makeDirectoryFTP :: ActionSource
removeDirectoryFTP :: ActionSource
moveFileFTP :: ActionSource
copyFileFTP :: ActionSource
Computation getEnv
var
returns the value
of the environment variable var
.
This computation may fail with:
- System.IO.Error.isDoesNotExistError if the environment variable does not exist.
compRemoteFile :: FTPConnection -> String -> IO [String]Source
filenameCompletionFunction :: String -> IO [String]