|
|
Installing and configuring FileZilla Server to use with libcurl class The libcurl class provides an easy way to provide Secure FTP capabilities to your Visual FoxPro program. This tutorial explains how to install and configure the FileZilla Server to test the libcurl class FTP over SLL capabilities. You could also set up and use the FileZilla server to ue in a production environment. Step 1: Download FileZilla Server Download the FileZilla install from here: FileZilla - The free FTP solution Step 2: Install and configure FileZilla Install FileZilla, when you get to this screen:
Just add any administrator password you like, and tick the "Always connect to this server" checkbox. Open the "Edit" menu, select the "Settings" menu option:
Select the "SSL/TLS setting" option, configure as shown, click on the "Generate new certificate" button:
Fill the certificate fields with your data, select the FileZilla install folder as a place to store the certificate, then click the "Generate certificate" button:
Now just click the "OK" button:
Now open the "Edit" menu and select the "Users" menu option:
Select the "General" option, click the "Add" button to add a user:
Add a user named "test", click "OK"
Set the options as shown, set the password to "test":
Now select the "Shared folders" option, and click on the "Add" button:
Select a folder to make it the root FTP folder:
Set the user rights as shown, click the "OK" button, you are all set now.
Since this is a self-signed self-generated certificate, you should always set the CurlOptSslVerifyHost and CurlOptSslVerifyPeer properties in the libcurl class to FALSE when using this server. If you install FileZilla on the same computer where you will be testing the libcurl class, the url to use is ftp://localhost
|
Carlos Alloatti |
|
|