file sftp.mount



Hi list,

I'm trying to mount automatically, but i wouldn't use gvfs-mount command.

Example:

gst-launch -v giosrc location="sftp://login:password 192 168 160 191/tmp/file_test.txt" ! filesink location=/tmp/file_test.txt

I'm using gstreamer with giosrc, to copy a remote file. But I always get this error:

----------------------------------------------
Setting pipeline to PAUSED ...
** (gvfsd:29798): DEBUG: automounting...

ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstGioSrc:giosrc0: Could not open resource for reading.
Additional debug info:
gstgiosrc.c(321): gst_gio_src_get_stream (): /GstPipeline:pipeline0/GstGioSrc:giosrc0:
Location sftp://login:passowrd 192 168 160 191/tmp/file_test.txt not mounted
Setting pipeline to NULL ...
Freeing pipeline ...
----------------------------------------------


my file sftp.mount

[Mount]
Type=sftp
Exec=/home2/paulo.benatto/gstreamer/libexec/gvfsd-sftp
AutoMount=true
Scheme=sftp
SchemeAliases=ssh
DefaultPort=22
HostnameIsInetAddress=true



--
Paulo Leonardo Benatto, patito
"the fear of being free makes you proud of being a slave"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]