Hi MKguy,
Thank you for your answer.
My syntax command after what you've suggested is :
vifs --server xxx --username xxx --password xxx -g "[datastore1] log/ghettoVCB-backup.log" /tmp/backup.log
Works better but the following error occurs :
+ vifs --server xxx --username xxx --password xxx -g '[datastore1] log/ghettoVCB-backup.log' /tmp/backup.log
/usr/lib/perl5/5.10.0/VMware/VICommon.pm line 545.
I've solved it by inserting in my script :
export PERL_LWP_SSL_VERIFY_HOSTNAME=0
tip found here : http://communities.vmware.com/thread/240659?start=15&tstart=0
Works fine now :
+ vifs --server xxx --username xxx --password xxx -g '[datastore1] log/ghettoVCB-backup.log' /tmp/backup.log
Downloaded file to /tmp/backup.log successfully.
Best regards