FAQ

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to delete file with ftp and curl plugin?

Answer: You can set post/pre quotes to have ftp commands executed before or after the download/upload.
Example
dim d as CURLMBS // your curl object

// delete file
dim ws() As String
ws.Append "DELE Temp.txt"

d.SetOptionPostQuote(ws)

Use SetOptionPostQuote, SetOptionPreQuote or SetOptionQuote.
The ftp commands you pass here are native ftp commands and not the commands you use with ftp applications. To delete use DELE and the file path.


💬 Ask a question or report a problem