FTP_DELETEFILE
|
Syntax: |
FTP_DELETEFILE(<Host>,<Filename>,<Username>,<Password>)
|
||||||||
|
|
|
||||||||
|
Meaning: |
Deletes a file on a FTP server. There must be connection to the Internet. FTP_DELETEFILE returns the result 0 if no
error occurred, otherwise an error number. In the case of an error ERRORTEXT$ contains the error report. |
||||||||
|
Parameter: |
|
||||||||
|
Sample: |
HOST$ = "www.xxx.de" HOST_FILE$ =
"/test.dat" USERNAME$ = "user1" PASSWORD$ =
"passwort1" H% = FTP_DELETEFILE(HOST$,HOST_FILE$,USERNAME$,PASSWORD$) IF H% <> 0 THEN ERRORMES
= "Error" + STR$(H%) + "
" + ERRORTEXT$ ENDIF |
||||||||
|
See also: |
|