User Tools

Site Tools


uphp:functions:tar_put

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
uphp:functions:tar_put [2017/05/27 17:42]
jeff created
uphp:functions:tar_put [2021/09/13 05:57] (current)
Line 19: Line 19:
 </html></well> </html></well>
  
-This function will attempt to add a single file to a previously opened file in TAR format((The TAR format is used to collect many files into one archive file, often referred to as a **tarball**, for distribution or backup purposes.  The name for the TAR utility was derived from Tape ARchive, as it was originally developed to write data to sequential I/O devices with no file system of their own.  In addition to the contents of the files the TAR archive can contain information on the file system parameters, such as name, time stamps, ownership, file access permissions and directory organization.)).  To use this function, first open the file using [[fopen()]], then call [[tar_put()]] as many times as needed to add individual files.  When finished adding files close the TAR file with [[tar_finish()]].+This function will attempt to add a single file to a previously opened file in TAR format((The TAR format is used to collect many files into one archive file, often referred to as a **tarball**, for distribution or backup purposes.  The name for the TAR utility was derived from Tape ARchive, as it was originally developed to write data to sequential <tooltip title="Input/Output">I/O</tooltip> devices with no file system of their own.  In addition to the contents of the files the TAR archive can contain information on the file system parameters, such as name, time stamps, ownership, file access permissions and directory organization.)).  To use this function, first open the file using [[fopen()]], then call [[tar_put()]] as many times as needed to add individual files.  When finished adding files close the TAR file with [[tar_finish()]].
  
 ====Parameters==== ====Parameters====
Line 62: Line 62:
  
 [[findnext()]] - Return next matching file information (after a findfirst) [[findnext()]] - Return next matching file information (after a findfirst)
 +
 +[[untar()]] - Expand a TAR file into the current folder, optionally verbose
  
uphp/functions/tar_put.1495906954.txt.gz · Last modified: 2021/09/13 05:56 (external edit)