HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

HPOncfg to_url

 
Marcbis92
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 ?