Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

SAPDB_Bool Studio_DBFSObject::deleteFile ( const Tools_DynamicUTF8String sCompletePath,
Tools_DynamicUTF8String sError 
)

------------------------------------------------------------------------- function: deleteFile description: delete a file arguments: [in] sCompletePath, complete path of file [out] sError, error text, if one occured

return value: true if success

--------------------------------------------------------------------------

Definition at line 407 of file Studio_DBFSObject.cpp.

References Tools_DynamicUTF8String::Erase(), getDBFSError(), and Tools_DynamicUTF8String::StrPtr().

Referenced by StudioWeb_StoredQueryTree::deleteFile().

{

      sError.Erase();

      Tools_DynamicUTF8String strCopyOfPath = sCompletePath;      
      if (wd101Delete(m_pDBFS,(const char*)strCopyOfPath.StrPtr()) == sapdbwa_False){
    
        getDBFSError(sError);       
            return SAPDB_FALSE;
    }

      return SAPDB_TRUE;
}


Generated by  Doxygen 1.6.0   Back to index