Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to move file with ftp and curl plugin?
Answer: You can set post/pre quotes to have ftp commands executed before or after the download/upload.
dim d as CURLMBS // your curl object

// rename/move file
dim ws() As String
ws.Append "RNFR Temp.txt"
ws.append "RNTO MyFile.txt"

Use SetOptionPostQuote, SetOptionPreQuote or SetOptionQuote.
The ftp commands you pass here are native ftp commands and not the commands you use with ftp applications. So rename is two commands. First RNFR to tell where to rename from and second RNTO with the new file name. To delete use DELE and the file path.

Feedback, Comments & Corrections

The biggest plugin in space...

MBS Xojo PDF Plugins