GISC Tokyo's file uploading service

GISC Tokyo receives files uploaded through either HTTPS PUT (recommended) or HTTPS POST and

  • provides uploaded files as part of GISC Tokyo's cache service.
  • provides uploaded files to GTS for global and regional exchange, when required.

This mechanism is mainly used for:

  • backup uploading of files by NCs and DCPCs whose principal GISC has a backup agreement with GISC Tokyo.
  • backup uploading of files by NCs and DCPCs who bilaterally agree with GISC Tokyo.

** As of August 2013, GISC Tokyo is not supporting fax data.

Procedures for participating centers:

Agreement on using the service

  1. Contact wis-jma(at)met.kishou.go.jp about the possibility of using this service.

Preparation

  1. Provide JMA with a list of bulletin headings to be uploaded as file.
  2. Prepare files to be uploaded, according to the file format, file naming convention and extension, which is defined in the Manual on GTS with several local rules.
  3. Send several sample files in ZIP format to GISC Tokyo through email.
  4. Prepare a file uploading tool*. Some message switching systems support HTTPS PUT/POST. Command line tools can be used as well. Technical specifications of HTTPS PUT/POST methods are described here.

Testing phase

  1. Endpoint URL, location of SSL certificate, username and password for a testing server will be informed to the contact person.
  2. Download the SSL certificate file from the instructed URL and extract a pem file from ZIP.
  3. Upon confirmation of GISC Tokyo, upload files to the testing server.

Operational phase

  1. Endpoint URL, location of SSL certificate, username and password for an operational server will be informed to the contact person.
  2. Download the SSL certificate file from the instructed URL and extract a pem file from ZIP.
  3. Upon confirmation of GISC Tokyo, upload files to the operational server.

 

(*) Examples of file uploading tools

A sample ruby program for file uploading is here.

A usage example of the sample program:

ruby ./htput.rb -v --cafile=xxxxxx.pem --user=youraccount --pass=yourpassword endpointURL uploadfilename

An example of command line tool:

curl --verbose --cacert xxxxxx.pem -u youraccount:yourpassword --upload-file uploadfilename endpointURL