SFTP Service
Information Brief
| Hostname: | ftp.ucontrol.thinktel.ca |
| Port: | 22 |
| Encryption: | SSH File Transfer Protocol (SFTP) |
| Username: | {Customer’s account number} |
| Password: | {Customer’s account password} |
Available Files
Customer SFTP directories contain multiple files available for download, either automatically by an external application or manually by any standard SFTP client.
CDR Files
- Format
- {YYYYMMDD}_{BatchID}_{Source}.csv
- Examples
- 20190818_2194_MetaSwitch.csv
- 20190818_2193_MetaSwitchXML.csv
- 20190817_2192_CollectCalls.csv
{BatchID} is a system-wide identifier; therefore, you may notice gaps in the numbering. This is not an indication of missing CDRs, it implies that your account had no CDRs within that specific batch.
{YYYYMMDD} is the day the CDRs were processed. Calls from one day may be processed the following day, which is especially true for batches processed close to midnight. Calls that span multiple days will be processed after they have completed and have been rated.
{Source} is where ThinkTel obtained the call detail records. Most often this is from our enterprise switch, but may also originate from other internal systems for specialized services.
Invoice Files
Invoices have three associated files:- PDF invoice file
- CSV file of charges included in the invoice
- CSV file of CDRs included in the invoice
The invoice CDRs and charges files provide alternate views to what is printed on the PDF invoice, which can help facilitate customer automation.
- Format
- {AccountNumber}-{InvoiceNumber}.pdf
- {InvoiceNumber}-charges.csv
- {InvoiceNumber}.csv
- Examples
- 20001703-9999999.pdf
- 9999999-charges.csv
- 9999999.csv
Temporary Files
Customers may occasionally find temporary files in their FTP directory. These can be safely ignored.
- Format
- *.tmp
- Examples
- 20190817_2190_MetaSwitch.tmp
- 9999999.tmp
Archived Files
Files older than 1 full calendar year are moved to an archive subdirectory and compressed as ZIP files. Files older than 7 full calendar years are deleted.
- Format
- {OriginalFilename}.zip
- Examples
- \Archive\Cdrs\20190818_2194_MetaSwitch.csv.zip
- \Archive\Cdrs\20190818_2193_MetaSwitchXML.csv.zip
- \Archive\Cdrs\20190817_2192_CollectCalls.csv.zip
- \Archive\Invoices\20001703-9999999.pdf.zip
- \Archive\Invoices\9999999-charges.csv.zip
- \Archive\Invoices\9999999.csv.zip