ftp_paradise

ftp_paradise

This Project aims to provide some convenience bindings for the Ruby-FTP base module. The ruby ftp code is part of the ruby stdlib and you can see the documentation for it here: http://ruby-doc.org/stdlib/libdoc/net/ftp/rdoc/Net/FTP.html The project here also provides a small GUI wrapper, written in ruby-gnome. This code resides in the subdirectory gui/ of this project. If you wish to start this, you can try: ftp_paradise --start-gui In general you should be able to use this project whenever you want to quickly upload or download some (remote) files via FTP. In order to facilitate an easier commandline interface, there is a REPL which can be started via typing `iftp` on the commandline. The following summary will give a very short overview over some of the features - for a more complete list, look at the doc/ subdirectory of the gem. We have the ability to download all specific files matching a certain criteria, such as through: download *.xz This will download every remote .xz file that can be found in the remote directory. Remote listing of files can be done via: - rlist or - list2 upload() can be used to upload a local file to a remote webserver, including batch upload (also part of the upload method). Exception handling is done as well. ftp_paradise --help will show some more HELP options. When you pass HELP as first argument to the interactive ftp, we will feedback all the help options available on the commandline. Uploading can also be done by giving numbers, which we will assume to refer to the index position of the current working directory. That is, index 7 would mean file position at 7 in the current directory: upload 7,8 The above instructions would try to upload file number 7 and 8 to the remote host. Of course you could use the file name instead - the numbers are just there for convenience. The interactive component will properly tells us whether we are connected to a remote host or whether we are not, since as of version 1.0.35. If you need to find out manually, do input this command: connected? Version 1.0.39 fixed the Configuration object. It will now use the proper URL. If you have any more specific suggestions to make this gem more useful for others or for your own case, please drop me an email at: shevegen@gmail.com. Thank you.

Rubygem ftp_paradise

Total Downloads
39618
Releases
42
Current Version
1.0.122
Released
2016-06-24 00:00:00 UTC
First Release
2015-05-08 00:00:00 UTC
Depending Gems
1

Comments

There are no comments yet, be the first to write one!

Post a comment

Markdown supported
or
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.