Hello everyone,
I’m using the libcurl library to upload files to a remote server, and it works fine. Now I need to create a new folder on the remote server to upload my files to.
Does anyone have the necessary libcurl code to create a remote folder on the remote machine?
Thank you very much.
If you are talking about ftp or sftp protocol, look at the TCurlFtpClass methods.
Hello Mike, thanks for you response.
FTPUploadDebug.zip (37.2 KB)
Hello friends,
I need to create a folder on a remote server using libcurl’s SFTP protocol. I was able to upload zip files to a folder on the server, and it worked. Now I need to create a folder on the server and then upload some PDF and XLS files into the created folder.
I’ve been testing the sample FTPUploadDebug application that comes with libcurl, which is attached. If you have it, could you review the app, which is in Clarion 11.1?
When I run the app, I get this error: “Quote command returned error,” which is related to the folder creation.
Thank you very much for your help.
Friends,
I’m still trying to avoid the error when creating the directory on the remote server. Here’s the log detail:
I see that the directory is created on the server, but the executable throws the error indicated in the log. I hope this log provides more clarity so you can see what I’m doing wrong.
Regards
Have you tried FTPManager example, does it work?
Yes, but it didn’t work… that app wouldn’t connect to the server and I don’t understand why. I used the FTPUpload example and uploading files worked with that app, and I wanted to add folder creation to it, but it didn’t work.