====== TMSS10UploadFile ======
===== Synopsis =====
''TMSS10UploadFile [-C Customer-ID] [-E expiry date] [-S logon string] [-d file description] [-f file name]''
===== Description =====
TMSS10UploadFile uploads a file to the TapeTrack server to the specified Customer-ID.
===== Options =====
* ''-C'' Customer-ID to upload file to.
* ''-E'' File expiry date.
* ''-S'' The Logon string argument sets the [[cli:server_argument|Server Logon Information]].
* ''-d'' File description.
* ''-f'' File name to upload to TapeTrack server.
{{page>cli:fi}}
==== Technical Support ====
The TapeTrack Software is commercially supported by a full time help desk staff. If you are experiencing problems or want some advice on how to configure or use the product please see the [[common:support_details|Accessing Technical Support]] page.
==== Exit Statuses ====
- **zero** Program has ended successfully.
- **non-zero** Program has not ended successfully.
==== Environment ====
==== Files ====
**stdout:** Output Reports. \\
**stderr:** Diagnostic messages. \\
**stdin:** Program input.
===== Example =====
=== Command line syntax ===
TMSS10UploadFile -S user:-password@server -C "US02" -E "2017-12-13" -d "file description" -f "MyFile.txt"
=== Output ===
ZBT001N-12:55:55 TMSS10UploadFile (c) GazillaByte 1998-2017
ZBT002N-12:55:55 Compiled Sep 3 2017 at 17:56:16
ZBT010I-12:55:55 this program will upload a file to the TapeTrack Server
ZBT006N-12:55:55 Running Under Windows 10 (build 15063 10.00) on platform x64
ZBT000N-12:55:55 Host is Little Endian
ZBT000N-12:55:55 Host is ASCII
ZBT000N-12:55:55 Binary is 64 bit
ZBT000N-12:55:55 Current Working Directory is C:\Program Files\TapeTrack\Files
ZBT004N-12:55:55 Today is Wednesday, November 22, 2017
ZBT005N-12:55:55 Running on GazillaByte
ZBT006N-12:55:55 Process ID 17348
ZBT000N-12:55:55 Parsing and validating command arguments
ZBT001N-12:55:55 Server Interpreted as: Server(localhost) Port(5000) User(user) Password(******)
ZBT002N-12:55:55 Program Options:
ZBT002N-12:55:55 (C) Customer-ID=US02
ZBT002N-12:55:55 (E) Expiry Date=2017-12-13
ZBT002N-12:55:55 (S) Server=
ZBT002N-12:55:55 (d) File Description=file description
ZBT002N-12:55:55 (f) File Name=MyFile.txt
ZBT000N-12:55:55 Arguments parsed and validated with 0 errors
ZBT000N-12:55:55 Expiry Date set to: Wednesday, December 13, 2017
ZBT000N-12:55:55 Compressing input file to temporary file C:\Users\GazillaByte\AppData\Local\Temp\TMSB7F6.tmp
ZBT000N-12:55:55 Compression Progress: 0 of 7
ZBT000N-12:55:55 Compression Progress: 7 of 7
ZBT000N-12:55:55 Compression Complete
ZBT000N-12:55:55 Checking for environment variable TMSSSERVERPROXY
ZBT000N-12:55:55 Connection to server (127.0.0.1) successful
ZBT000N-12:55:55 Logging on to TapeTrack Server
ZBT000N-12:55:55 Registering Client at MACID(00:8c:fa:8e:02:f5:00:00) Result(Request OK)
ZBT000N-12:55:55 Last Logon was at Wednesday, November 22, 2017 - 12:54:05 from 127.0.0.1
ZBT000N-12:55:55 Welcome to Server: Production
ZBT000N-12:55:55 Uploading File
ZBT000N-12:55:55 Send Progress: 27 of 27
ZBT000N-12:55:55 Registering File with Server
ZBT000N-12:55:55 Closing connection to TapeTrack Server
ZBT000N-12:55:55 Session Statistics:
ZBT000N-12:55:55 Seconds Connected: 0
ZBT000N-12:55:55 Queries Completed: 5
ZBT000N-12:55:55 Bytes Sent: 460
ZBT000N-12:55:55 Bytes Received: 412
ZBT900N-12:55:55 Program Complete
ZBT901N-12:55:55 Elapsed time 0 minutes and 0 seconds
ZBT991N-12:55:55 CRC values for this session: 0xf91611b2 (0x15bf7a7)
ZBT992N-12:55:55 Number of records written: 42
ZBT993N-12:55:55 Number of bytes written: 2,264
ZBT999N-12:55:55 Program ended
--> Changelog
[filterrss http://www.tapetrack.com/cgi/changelog.cgi?module=TMSS10UploadFile]
<--
<- ^ cli:introduction|Command Line Utilities^ ->