HPE BladeSystem Server Blades
cancel
Showing results for 
Search instead for 
Did you mean: 

HPOncfg to_url

Marcbis92
Occasional Visitor

HPOncfg to_url

Hi,

I'm making some script to configure many blade on C7000.

Script working fine, but i have an issue to upload result.

here is my command run on C7000 OA : 

HPONCFG SUBSTITUTE "hostname"="ertyui" 4 http://1.1.1.1/Data/G9.xml ftp://toto:toto@1.1.1.1/test.txt

but on my ftp server i obtain the folowing log : 

> 230 Logged on
> TYPE I
> 200 Type set to I
> PASV
> 227 Entering Passive Mode
> CWD .
> 250 CWD successful. "/" is current directory.
> STOR .
> 550 Filename invalid
> ftpput: STOR error: Filename invalid
> 500 Syntax error, command unrecognized.
> disconnected.

hponcfg syntax : 

HPONCFG [NOAUTOLOGIN] [SUBSTITUTE [TEST] {“variable”=”value”
[,”variable”=”value”[,…]]}] {ALL | <bay number> [{ , | - } <bay number>]}
{<< <end marker> <\n>| <from_url> [<to_url>]<\n> <end marker>} 

Did i made a mistake in my command syntax ?