Class: DownloadCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- DownloadCommand
- Defined in:
- bin/filefm
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'bin/filefm', line 52 def execute file = files.join(" ") begin FileFM.download file, :progressbar => !, :secure => !insecure?, :username => user, :destination => destination, :password => password rescue => e puts "ERROR: #{e.message}" end end |