slackcat icon indicating copy to clipboard operation
slackcat copied to clipboard

How to download a file?

Open hughperkins opened this issue 9 years ago • 0 comments

I tried something like:

slackcat -d https://somecompany.slack.com/files/someuser/AEFEGDDVEF/somefile.dat

But got:

/home/ubuntu/.gem/ruby/1.9.1/gems/slackcat-0.2.5/bin/slackcat:87:in `download': error determining private download URL for file AEFEGDDVEF (RuntimeError)
        from /home/ubuntu/.gem/ruby/1.9.1/gems/slackcat-0.2.5/bin/slackcat:146:in `<top (required)>'
        from /home/ubuntu/.gem/ruby/1.9.1/bin/slackcat:23:in `load'
        from /home/ubuntu/.gem/ruby/1.9.1/bin/slackcat:23:in `<main>'

hughperkins avatar Feb 22 '16 23:02 hughperkins