Send Folder to Website?

I need to upload a folder to a url. Im not finding much information on how to do this with Xojo Desktop on Windows or Macintosh. Can anyone share code on how to upload a folder to a url? The folder can be zipped to make it easier. I just need a method to upload. TIA.

Is the url expecting an upload? Is there an api? Are you using ftp? Not sure where to start here.

2 Likes

The url is Xojo Cloud in my web home application for the company. As far as I know, the documents folder in the application can receive data. That’s where I was told to put things because it’s the folder that is available to share with. I have the url for the documents folder. There is not an api. I would like to use url connection to send the file to the website, not ftp.

You should probably put code in HandleURL of your web app to receive a file upload and store it in the documents folder. Your desktop app can use URLConnection to send the file to the web app. Basically create your own api.

1 Like