of_FileCopy


pfcapsrv.pbl   >   pfc_n_cst_filesrv   >   of_FileCopy   

Full name pfc_n_cst_filesrv.of_FileCopy
Access public
Extend of integer
Return value integer
Prototype public function integer of_FileCopy(string,string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_FileCopy (string as_SourceFile, string as_TargetFile);//////////////////////////////////////////////////////////////////////////////
//	Public Function:  of_FileCopy
//	Arguments:		as_SourceFile			The name of the source file.
//						as_TargetFile			The name of the target file.
//	Returns:			Integer
//						1 if successful,
//						-1 if an error occurrs reading the source file,
//						-2 if an error occurrs writting to the target file.
//	Description:	Copy a file.
//						This function overrides the real of_FileCopy to allow the Append
//						parameter to be optional (the default is False).
//////////////////////////////////////////////////////////////////////////////
//	Rev. History:	Version
//						5.0   Initial version
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 Sybase, Inc. and its subsidiaries.  All rights reserved.  Any distribution of the 
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////
Return of_FileCopy(as_SourceFile, as_TargetFile, False)
end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_filesrv.of_FileCopy pfc_n_cst_filesrv

     
Full name
No Data

     
Name Scope
No Data