Skip to content

Uploading a file #68

@shai20099

Description

@shai20099

Hi,

Just wanted to add a snippet of uploading a file example:

(defn upload [{:keys [data]}]
  (.writeTo (:file data) (java.io/FileOutputStream. (str "./downloads/" (.getFileName (:file data))))))

Enjoy!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions