I made an application with MBS curl SFTP.
Downloading and uploading work, but for delete command I still get an error.
I think I have a mistake in the parameter.
Note: I use a server with 3 different domains. Eacht domain in a new folder.
For Uploading and Downloading I noticed I have to use the’/home’ folder before getting access to the domain folder.
Delete not working, message: “QOUT string not accepted”
dim curlDel as new CURLSMBS
dim commands() As String
dim intError as integer
curlDel.CollectDebugData = true
curlDel.CollectHeaderData = true
curlDel.CollectOutputData = true
CurlDel.OptionDirListOnly = true
curlDel.OptionUsername =mstrSftpUser 'contains username
curlDel.OptionPassword = mstrSftpPassword 'contains password
curlDel.OptionPort = 22222
curlDel.OptionURL = “ftp://webserver.myname.nl”
if IntError <> 0 then
CurlDel = nil[/code]
I tried many difference commands like:
RM uppercase / lowercase, -RM / Delete -Delete
absolute path, non absultepath, starting /, between qoutes, only the filename, folder/filename
Nothing seems to work.