Download urls via FTP?

I didn’t expect to have a problem with this … but are FTP urls still supported?

I have this block for patching Intel AMT firmwares from HP

begin prefetch block add prefetch item name=update.exe sha1=821820a8683c634574071e8c1dcc07cbef453f80 size=4799128 url=ftp://ftp.hp.com/pub/softpaq/sp80001-80500/sp80091.exe sha256=0bdfe0713dfd6c11be34bb617fbb4bbf56795dd375f7997b9a17040b39255137 collect prefetch items end prefetch block

An action based on this gave
Download error: "class NoHTTPStatusCode"
Download requested on server:
URL: ftp://ftp.hp.com/pub/softpaq/sp80001-80500/sp80091.exe
Hash: (sha1)821820a8683c634574071e8c1dcc07cbef453f80
Size:
Next retry: 8 minutes. Retry now

I thought maybe it was a prefetch limitation, so I converted the commands into ‘download as’ but it still gives the same NoHTTPStatusCode response on the action.

What if you replaced ftp by http protocol? I think the site is doing protocol mirroring to serve the files.

http://ftp.hp.com/pub/softpaq/sp80001-80500/sp80091.exe

Thanks, yeah that actually works. But is there a reason the FTP protocol wouldn’t? My command-line FTP client works from the BES server.

In any case I’m past my specific issue, I am able to grab the files using HTTP protocol as you mention.

1 Like

I don’t think bigfix can download files over FTP, only HTTP or HTTPS.

It might be possible to make a download plugin for bigfix to address this.

I thought at first that might be the case, except
https://developer.bigfix.com/action-script/reference/download/download-as.html uses an ftp:// as its example.

ftp:// was also referenced my printed copy of the Action Language guide (I’ll check tomorrow but I think it was for 9.1 or 9.2)