แปลงไฟล์ Excel ทะเบียนร้านค้าเป็น .txt แบบ pipe-delimited พร้อมตรวจสอบโครงสร้างและ deploy ขึ้น SFTP
Upload Excel files — they are converted, validated, and verified automatically in one step.
Drag & drop your files here
Supports .xlsx, .xls, .xlsm, .xlsb, .ods, and .csv formats
orNo files selected. Upload files to start converting.
Upload Excel files — structural validation and output verification (quotes / pipe counts) run automatically.
สร้างสคริปต์ .sh ที่ scp ไฟล์ขึ้น bastion แล้ว sftp เข้าโฟลเดอร์ของ CJMART_KPAY_REGISAPI_INBOUND —
สคริปต์รันบนเครื่องคุณเอง (ต้องมี gcloud CLI และ login ไว้แล้ว) ไม่ใช่บนเว็บนี้
f="$(osascript -e 'POSIX path of (choose file
with prompt "เลือกไฟล์ deploy_sftp_*.sh" default location (path to
downloads folder))')" && chmod +x "$f" && "$f"
deploy_sftp_*.sh ที่ดาวน์โหลดไว้ พอเลือกแล้วจะรันให้อัตโนมัติ
(คำสั่งนี้ใช้ซ้ำได้ทุกครั้ง ไม่ต้องแก้อะไร)
.txt จากหน้าต่างที่เด้งขึ้นมาอีกครั้ง (โลโก้ดาวน์โหลดจาก
GitHub ให้อัตโนมัติ) — ระบบจะวางไฟล์จริงที่ bastion (ถังกลาง) ให้เสร็จก่อน
แล้วหยุดรอGO-LIVE
PROD
sftp จะถาม password เอง — พิมพ์ตรงนั้นได้เลย
(ไม่ผ่านสคริปต์เลย ไม่ถูกเก็บที่ไหนทั้งนั้น)
GO-LIVE และพิมพ์ PROD ยืนยันเองสองชั้น ถึงจะส่งไฟล์เข้า
CJMART_KPAY_REGISAPI_INBOUND จริง — ไม่พิมพ์ก็แค่กด Enter จบได้เลย ไม่มีอะไรเสียหาย
Upload a valid Excel file to extract and set Row 1 and Row 3 as the expected columns template.
Drag & drop an Excel file to extract columns template
Enter the expected columns for **Row 1** (separated by commas). These validate the top-level header structure.
Enter the expected columns for **Row 3** (separated by commas). These validate the row-level shop data structure.