Titania
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'Titania'
And then execute:
$ bundle
Or install it yourself as:
$ gem install Titania
Usage
# Connection
con = Titania::Connection.new(HOST,USERNAME,PASSWORD)
con.get_list(PATH) # Get file list - Return array
con.current_dir # Get current dir
con.change_dir(PATH) # Change current dir
con.delete_file(FILE_PATH, FILE_NAME) # Delete file
con.create_dir(DIR_PATH, DIR_NAME) # Create dir
con.help(arg) # Get Help
con.change_name(CURRENT_NAME,NEW_NAME) # Change file or directory name
con.remove_dir(REMOVE_DIR) # Remove dir
con.file_size(FILE_NAME) # Get file size
con.connection_status # Get connection status
con.close # Close connection
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request