# curlfilesink

This is a network sink that uses libcurl as a client to upload data to a local or network drive.

## Example launch line (upload a JPEG file to /home/test/images directory)

     gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlfilesink  \
         file-name=image.jpg  \
         location=file:///home/test/images/

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSink
                        ╰──GstCurlBaseSink
                            ╰──curlfilesink

## Factory details

Authors: – Patricia Muscalu

Classification: – `Sink/Network`

Rank – none

Plugin – curl

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    ANY

Presence – always

Direction – sink

Object type – GstPad

## Properties

### create-dirs

    “create-dirs” gboolean

Attempt to create missing directory included in the path

Flags : Read / Write

Default value : false

The results of the search are