BE_FTP_Delete

BE_FTP_Delete ( url {; username ; password } )

Deletes a file at a specific ftp or sftp url.

Version : 3.2

Parameters : 
url : the ftp url of the file to be deleted. 
username ( optional ) : The username if the url requires authentication. 
password ( optional ) : The password if the url requires authentication.

Authentication types can be set with the BE_CurlSetOption function. 

Check for errors using the BE_GetLastError function and use https://curl.haxx.se/libcurl/c/libcurl-errors.html for error details.

Examples :

BE_FTP_Delete ( "ftp://example.com/path/folder/file.txt" )

BE_FTP_Delete ( "sftp://example.com:2000/path/folder/file.txt" ; "account" ; "password" )

Still need help? Contact Us Contact Us