2017-08-18 12:21 GMT-05:00 Al Thomas :
>> On Friday, August 18, 2017, 4:39:33 PM GMT+1, Edwin De La Cruz
>> wrote:
>
>> var directory = File.new_for_uri("ftp://ftp.gnu.org/";);
>
> The program works fine as both a normal user and root if the file://
> protocol is used, e.g.
>
> var directory = Fil
Best regards.
Someone can help me, I need to mount an ftp site from Vala, with
credentials, but in the documentation I can not find how to do it.
Has anyone got it?
Thank you.
Mis proyectos de software libre en:
Github - edwinspire
___
vala-list mailin
I think you need GLib.File.mount_enclosing_volume https://valadoc.org/g
io-2.0/GLib.File.mount_enclosing_volume.html
Once you've declared a ftp:// resource with GLib.File.new_from_uri, you
can mount it with this routine providen mounting options, etc.
Le mardi 24 octobre 2017 à 10:11 -0500, Edwin
On Tuesday, 24 October 2017, 16:08:09 BST, Edwin De La Cruz
wrote:
> It was definitely not possible to run as root. I had to run as a user
> and it works as expected.
> Thanks to everyone for your replies.
GIO is using GVFS and the FUSE daemon. The FUSE daemon is reported not to be
accessible
Just a update:
I settled with just "printf" and not "env printf" in the patch for
testrunner.sh
System has multiple compilers and I found that out using by adding valac -v
flag in VALAFLAGS in testrunner.sh
Had to add VALAFLAGS="$VALAFLAGS --cc=gcc ; this might
be a flag need