java-slack-sdk icon indicating copy to clipboard operation
java-slack-sdk copied to clipboard

How to download uploaded file on slack

Open chandresh-pancholi opened this issue 3 years ago • 1 comments

(Describe your issue and goal here)

Reproducible in:

I am following the approach to download file following this link https://github.com/slackapi/java-slack-sdk/commit/1712133988264cccc0c180c89d4cf2a76e0f30e7 I want to download the already uploaded slack file in the channel. I couldn't find any info regarding.

mvn dependency:tree | grep com.slack.api
gradle dependencies | grep com.slack.api
java -version
sw_vers && uname -v # or `ver`

The Slack SDK version

(Paste the output of mvn dependency:tree | grep com.slack.api or gradle dependencies | grep com.slack.api)

Java Runtime version

(Paste the output of java -version)

OS info

(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)

Steps to reproduce:

(Share the commands to run, source code, and project settings (e.g., pom.xml/build.gradle))

Expected result:

(Tell what you expected to happen)

Actual result:

(Tell what actually happened with logs, screenshots)

Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to the those rules.

chandresh-pancholi avatar Jul 14 '22 21:07 chandresh-pancholi

Hi @chandresh-pancholi, thanks for writing in.

I am still unsure about your question here. The code snippet that you've mentioned should work as long as your app has the access to the uploaded files. This means that your app's bot user needs to be a member of the channels where an uploaded file is shared.

I hope you will figure out how to achieve your goal soon.

seratch avatar Jul 15 '22 09:07 seratch

👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized.

github-actions[bot] avatar Aug 15 '22 00:08 github-actions[bot]

I am closing this issue due to inactivity 💻

WilliamBergamin avatar Aug 18 '22 18:08 WilliamBergamin