Lasso Soft Inc. > Home

[File_StreamCopy]

[File_StreamCopy] copies a file using a buffered approach which allows it to work with very large files without consuming excessive amounts of memory. This tag should be used any time the file size is larger than the available RAM.

  • Syntax
  • Parameters
[File_StreamCopy: -Source'sourcefile.txt', -Destination='destinationfile.txt', -FileOverWrite]
Required Parameters
-Source The path to the source file for the copy.
-Destination The path to the destination file name or destination folder for the copy.
Optional Parameters
-Buffer The buffer size in bytes. Defaults to 32768.
-FileOverWrite If specified then a file by the same name in the destination will be overwritten.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [File_StreamCopy] Category File
Type Process Data Source Any
Support Preferred Version 8.5
Output Type None Security File
Implementation LassoScript Sets Lasso 8.5

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft