Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

FTP access

Username and password will be provided at the beginning of the project

Hostname

ftp.digitecgalaxus.ch

Protocol

SFTP

Port

22

IP addresses

(warning) Use host name for connection and IPs only for whitelisting

88.198.35.84
85.10.200.14
116.203.25.19

The FTP server was migrated on 04.02.2025. Please pay particular attention to all red notices.

By default, a maximum of 5 parallel sessions are possible

After a successful download/import, messages must be deleted from the FTP

To avoid data loss in case of connection problems, the sender should check the successful upload and retransmit automatically if necessary

Files should be uploaded with complete content, otherwise it can happen that our SystemTask downloads the files empty in case of time overlap.
If this is not possible or the files are first created empty on the FTP and only afterwards the content is written, the file name should be named temporarily with a prefix e.g. tmp_GDELR_*.xml.

The SSL certificate is renewed yearly and should be accepted automatically

If the password is sent incorrectly several times or too many requests are sent, the IP address will be blocked automatically temporary for 3 hours

Supported Key Exchange Algorithms (KEX):

 List:

Supported KEX algorithms:

  • ecdh-sha2-nistp256

  • ecdh-sha2-nistp384

  • ecdh-sha2-nistp521

  • diffie-hellman-group-exchange-sha256

  • diffie-hellman-group16-sha512

  • diffie-hellman-group14-sha256

  • diffie-hellman-group-exchange-sha1

  • diffie-hellman-group14-sha1

  • diffie-hellman-group1-sha1

No longer supported KEX algorithm:

  • (warning) diffie-hellman-group18-sha512

Public Key Authentication Algorithms:

  • ssh-ed25519

  • sk-ssh-ed25519@openssh.com

  • sk-ecdsa-sha2-nistp256@openssh.com

  • ecdsa-sha2-nistp256

  • ecdsa-sha2-nistp384

  • ecdsa-sha2-nistp521

  • rsa-sha2-256

  • rsa-sha2-512

Message Authentication Code (MAC) Algorithms:

  • hmac-sha2-256-etm@openssh.com

  • hmac-sha2-256

Message Authentication Code (MAC) Algorithms:

  • aes128-gcm@openssh.com

  • aes256-gcm@openssh.com

  • chacha20-poly1305@openssh.com

  • aes128-ctr, aes192-ctr

  • aes256-ctr

Public Host Key Change:

 List:

New Host Key:
ftp.digitecgalaxus.ch ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAkkOD7pIIF7mlMnjimAtH2dyr/VXcYWPRrrHAew3ZHK

ftp.digitecgalaxus.ch ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBX2Tw/jiusmFg7xlCmfbZxdglLSbKoGSJoOOHvuRjjmD69sTSckSqVy+5rzA1Qfpk9y8OAg1OiaLFPF9T/HCZ0=

ftp.digitecgalaxus.ch ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXPnyz/14nezav8uUBGlnnXv61P+hoUABKgKmSq7s0aohOc1cd7IsSJ7a+m9DzxuVX13+2lediykIfneNVniYuM9YaL14zGl6Cy994ICvLALbFYFUMNMyoTzFZhU2kiYXV9UkADtMcZecienOonTenxb8S/EdR1u0IquE2VpOQgb5VDIHkGqbGpat/Ue5X5Ikdah+Vtqx9t/DQCLOvjIKwxhg7TPGcIjRkDcDHqsZrOKoB/qG9avzVeKczYgTF66seAyDQxvxQypuOeSuhXyK4/bA7Rcwj4FfFxLwdGKLM6qD2ML/2cNsk26yE9W0CSHtiqzust0GPG7it55vVyLexFZXpZFcRJ/vm8SBuhEgL+6914q+tSTxazQAoIK/SL1Cmhlwv/3wLC65mba2DU73lvBC62NqT7rMfextt2Uyp0ev10iIC/srzDGFi/vIiBnYhBCQsNePMx/MviCR7IsEOplaHTppteuLqLcQA4Vucx1hyblUwHBy5eo65ndpkgzNfLZPz/p0YSRxCSKQbKdBwau4UaixggVDrlPTo9SFG1l5sNdoVes2ObE5J8yXyB9yPWqGXWJPnRmrlltLUpuDKgB7PTVUZAqhlItOUjNmZe1Ts2DQmiQyyBqNhzL47wWtf7V/Z4vXuLP3IB7o04YyaVFHqbcjEgkrQPAcL7UYZFQ==

In the FTP client you have to confirm manually because the host key has changed and you still want to connect if the access data has been saved (man in the middle warning).

If not done automatically, this must also be done manually if the connection is established via script. This can be done, for example, by:
ssh-keygen -R ftp.digitecgalaxus.ch
ssh user@ftp.digitecgalaxus.ch

FTP folder structure

Test

dg2partner (IN)

sftp://ftp.digitecgalaxus.ch/OrderData/Test/dg2partner/

partner2dg (OUT)

sftp://ftp.digitecgalaxus.ch/OrderData/Test/partner2dg/

Live

dg2partner (IN)

sftp://ftp.digitecgalaxus.ch/OrderData/Live/dg2partner/

partner2dg (OUT)

sftp://ftp.digitecgalaxus.ch/OrderData/Live/partner2dg/

Transmission times of the messages

DELR:

  • Direct deliveries: latest 24h after dispatch

  • Warehouse deliveries: latest before warehouse delivery

INVO: earliest 48h before warehouse delivery

Filenaming

Galaxus -> Partner (dg2partner)

Order Placement (ORDP)

GORDP_<SupplierId>_<OrderId>.xml

Cancel Request (CANP)

GCANP_<SupplierId>_<OrderId>_<Timestamp>.xml

Return Registration (RETP)

GRETP_<SupplierId>_<OrderId>_<Timestamp>.xml

Partner -> Galaxus (partner2dg)

Order Response (ORDR)

GORDR_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml

Dispatch Notification (DELR)

GDELR_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml

Cancel Confirmation (CANR)

GCANR_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml

Supplier Cancel Notification (EOLN)

GEOLN_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml

Invoice (INVO)

GINVO_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml

Export Invoice (EXPINV)

<OrderId>_<InvoiceNoPartner>_<TrackingNo>.pdf

Supplier Return Notification (SURN)

GSURN_<SupplierId>_<OrderId>_<*>_<Timestamp>.xml

The first characters correspond to the message designation, followed by an underscore:

  • <MessageType>: e.g. GDELR (Must)

  • <SupplierId>: Your Digitec Galaxus customer number - is also sent in the GORDP as supplier PARTY_ID, as well as in the file name (Should *)
    * = Must, if the same FTP account and folder is used for CH and EU

  • <OrderId>: Order number from Digitec Galaxus (Should)

  • <*>: Your document number (Should)

  • <InvoiceNoPartner>: Your invoice number (mandatory for export invoices)

  • <Timestamp>: Timestamp (Should)

Examples:

  • GORDP_<SupplierId>_<OrderId>.xml

  • GORDR_<SupplierId>_71696740_AB123456_202103311537.xml

  • GDELR_<SupplierId>_71696740_LF789000_202103311537.xml

  • GINVO_<SupplierId>_71696740_RG7654321_202103311537.xml

If different order numbers are sent in the Dispatch Notification or Invoice, the <OrderId> in the file name can be omitted or only the first one can be used.

The export timestamp ensures the uniqueness of the file. This is necessary because files with the same file name that have already been uploaded before are deleted by our SystemTask without being downloaded first.

The following characters must not be used in the file name:

  • Space

  • * ? ! | \ / ' " { } < > ; , ^ ( ) $ ~

  • No labels