Unsolved

This post is more than 5 years old

5 Posts

11567

July 1st, 2011 03:00

syntax of URI parameter with password for InstallFromURI invocation

For InstallFromURI method, What is the syntax of URI (=location of firmware to update a component) when the server that stores the update content requires login and password ?
I try ftp://:@//, but not successfull.
Thanks!

13 Posts

July 25th, 2011 13:00

Only CIFS requires a username, password. For FTP or all other supported network shares, correct URI is "ftp://ipaddress/sharepath/windows dup name" Example: ftp://192.168.0.120/pub/bios_30.exe

5 Posts

August 24th, 2011 02:00

Thank for answering.

But my FTP server requires login and password. How can I provide these login/password for InstallFromURI invocation ? in URI parameter or another one parameter ?

And What about cifs: I try cifs://:@//, but not successfull too.

Thank you !

13 Posts

August 24th, 2011 08:00

For FTP, we only support anonymous login for the download of the update package.

For the CIFS example above, you have the syntax incorrect. You must also pass in "mountpoint". Here are some URI examples:

Linux example:

cifs://localdomain\root:abc123@192.168.0.120/bios.exe;mountpoint=sambashare

domain: "localdomain"
username: "root"
password: "abc123"
CIFS share ip, relative path: 192.168.0.120/bios.exe (the exe file I have is copied in the root of the smb share which is "sambashare"
mountpoint: sambashare (this is always going to be the absolute path)

Windows example:

cifs://WORKGROUP\administrator:abc123@192.;168.0.120\cifs_share\bios.exe;mountpoint=C$

domain: WORKGROUP
username: administrator
password: abc123
share ip, relative path: 192.168.0.120/cifs_share/bios.exe (I create a cifs share on the C drive called "cifs_share" which contains the exe file.
mountpoint: C$

13 Posts

August 24th, 2011 08:00

In your example, you were also missing the domain name which is also required for CIFS.

5 Posts

August 24th, 2011 09:00

I applied your recommendations again cifs share and everything is OK.
Thank you very much !
No Events found!

Top