Top |
gboolean | create-dirs | Read / Write |
gboolean | epsv-mode | Read / Write |
gchar * | ftp-port | Read / Write |
gboolean | create-tmp-file | Read / Write |
gchar * | temp-file-name | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstBaseSink ╰── GstCurlBaseSink ╰── GstCurlTlsSink ╰── GstCurlFtpSink
This is a network sink that uses libcurl as a client to upload data to an FTP server.
Upload a JPEG file to /home/test/images * directory)
1 2 3 |
gst-launch-1.0 filesrc location=image.jpg ! jpegparse ! curlftpsink \ file-name=image.jpg \ location=ftp://192.168.0.1/images/ |
“create-dirs”
property“create-dirs” gboolean
Attempt to create missing directory included in the path.
Flags: Read / Write
Default value: FALSE
“epsv-mode”
property“epsv-mode” gboolean
Enable the use of the EPSV command when doing passive FTP transfers.
Flags: Read / Write
Default value: TRUE
“ftp-port”
property“ftp-port” gchar *
The PORT instruction tells the remote server to connect to the IP address.
Flags: Read / Write
Default value: ""
“create-tmp-file”
property“create-tmp-file” gboolean
Use a temporary file name when uploading a a file. When the transfer is complete, this temporary file is renamed to the final file name. This is useful for ensuring that remote systems do not read a partially uploaded file.
Flags: Read / Write
Default value: FALSE
“temp-file-name”
property“temp-file-name” gchar *
Filename pattern to use when generating a temporary filename for uploads.
Flags: Read / Write
Default value: NULL