![]() |
T4S4
18.1 C7177 A20283
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
tpco_compressFile2B64 | |
This function reads a file and returns the contents as a zipped B64String. More... | |
tpco_compressString2B64 | |
This function zips a string and returns the result as B64. More... | |
tpco_createZipFromDir | |
This function creates a ziparchive from a directory. More... | |
tpco_createZipFromFileList | |
This function creates a ziparchive from a filelist. More... | |
tpco_extractZIPFile | |
This function unzips a ziparchive. More... | |
tpco_getFileListFromZip | |
This function lists all files in a ziparchive. More... | |
tpco_packfile | |
This function zips a file. More... | |
tpco_uncompressB642File | |
This function unzips a B64string and writes the result into a file. More... | |
tpco_uncompressB64Str | |
This function unzips a B64string (see tpco_compressString2B64) More... | |
tpco_unpackfile | |
This function unzips a file. More... | |
tpco_compressFile2B64 |
This function reads a file and returns the contents as a zipped B64String.
file | the full filename |
Referenced by API::Core::Batch::setJobAttachmentByFile().
tpco_compressString2B64 |
This function zips a string and returns the result as B64.
string | the string |
Referenced by API::Core::Batch::compressB64String().
tpco_createZipFromDir |
This function creates a ziparchive from a directory.
dir | the path of the directory |
zipname | the name of ziparchive |
pathstore | 0= realtive path 1=absolute path stored in zipfile |
recursive | file search 0= recursive off 1= recursive on |
Zip all files in the directory [rcwd]/var/httpd and sub directories.
tpco_createZipFromFileList |
This function creates a ziparchive from a filelist.
zipname | the name of zipfile |
filelist | infile storefilename infile storefilename infile storefilename ... |
tpco_extractZIPFile |
This function unzips a ziparchive.
zipname | the name of ziparchive |
targetdir | (optional) traget directory for the files (default=cwd) |
tpco_getFileListFromZip |
This function lists all files in a ziparchive.
zipname | the name of ziparchive |
tpco_packfile |
This function zips a file.
infile_name | the input file |
outfile_name | the new zip file |
Zip the file [rcwd]/9ada3e.sig and write the result to [rcwd]/9ada3e.sig.zip.
Referenced by getBinLogFile().
tpco_uncompressB642File |
This function unzips a B64string and writes the result into a file.
zipb64string | the b64 string |
file | the full filename |
tpco_uncompressB64Str |
This function unzips a B64string (see tpco_compressString2B64)
string | the B64 string |
Referenced by T4X::SOAP::CLIENT::callSoapOperation(), API::Core::Batch::getJobCode(), and API::Core::Batch::uncompressB64String().
tpco_unpackfile |
This function unzips a file.
infile_name | the input file |
outfile_name | the new zip file |
Unzip the file [rcwd]/9ada3e.sig.zip and write the result to [rcwd]/9ada3e.sig.unzip.
Referenced by storeBinLogFile().