Top |
This is a network sink that uses libcurl as a client to upload data to a SFTP (SSH File Transfer Protocol) server.
Upload a file to /home/john/sftp_tests/
1 2 3 4 5 6 7 |
gst-launch-1.0 filesrc location=/home/jdoe/some.file ! curlsftpsink \ file-name=some.file.backup \ user=john location=sftp://192.168.0.1/~/sftp_tests/ \ ssh-auth-type=1 ssh-key-passphrase=blabla \ ssh-pub-keyfile=/home/jdoe/.ssh/id_rsa.pub \ ssh-priv-keyfile=/home/jdoe/.ssh/id_rsa \ create-dirs=TRUE |
“create-dirs”
property“create-dirs” gboolean
Attempt to create missing directories.
Flags: Read / Write
Default value: FALSE