BE_FileDelete

BE_FileDelete(path)



Deletes the file at location path. This function doesn't send files to the trash or recycle bin, so use with caution. Files deleted are gone.

Parameters:

- path : a system file path

Keywords:

File Delete


Version History:

- 1.0.0 :

- 4.0.2 : Renamed from BE_DeleteFile

Notes:

- PLUGIN PATHS ARE NOT FILEMAKER PATHS. The plugin uses the same path structure as your operating system, and you cannot pass to the plugin paths that start with file:/ or filewin:/ etc. Please read this for more info :

https://docs.baseelementsplugin.com/article/514-notes-about-file-paths

Code Examples:

BE_DeleteFile ( "/Users/username/Desktop/myNewFolder" )
deletes a folder and all of it's contents

BE_DeleteFile ( "/Users/username/Desktop/fileA.fp7
deletes a file

Still need help? Contact Us Contact Us