cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
529
Views
0
Helpful
3
Replies

Automate Download File from BAT

joe_sinclair
Level 1
Level 1

I have a weekly BAT scheduled task to expor the entire configuration to a filename "WeeklyConfigExport". This works great and I can download the export files via the GUI ("Bulk Administration" --> "Upload/Download Files").

But I would like to setup a task on a different machine to download the file via FTP/TFTP/HTTP/SSH/Whatever-protocol. Is it possible?

Are the files directly accessible via HTTP if you know the URL:port to access them? I'm thinking along the lines of http://servername.fqdn:6970/jabber-config.xml.

I tried substituting my output filename in that URL but it didn't work: http://servername.fqdn:6970/WeeklyConfigExport_04292017235040.tar

The timestamp suffix is predictable so I should be able to script something to estimate what it will be each time, I just need to know where I can get the file from.

In case you're wondering, I find these export files useful to look back over past config in case an object is accidentally deleted. It avoids having to do a full DRS restore job to recover a single object or reconstruct it. Of course I might be doing this completely wrong so if there is an alternative or better recommended way to facilitate a more granular approach to restoring old config objects I would be interested to hear about that.

Thanks,

Joe

3 Replies 3

HARIS_HUSSAIN
VIP Alumni
VIP Alumni

It will be under directory

/common/bps/csvfiles/phones/report/

But you wouldn't  be able to access it via TFTP.

Only way is CLI for GUI or may be SOAP AXL.

Thanks

Haris

I assume you meant to type "wouldn't" instead of "would"?

It's a shame there isn't a way to collect these files automatically.

Thanks for the information you posted though.

Yup , Just corrected the same.