edtFTPj/Free - Open-source FTP library for Java
|
Download
Quick Start with Visual Studio 2003
IMPORTANT:
Before you quick-start please ensure that edtFTPnet/PRO is
installed
and
registered
in your IDE. Check that you can connect to your FTP server. Once you've done that...
Step 1
: Create a new Windows Forms Project (either C# or VB)
Step 2
: Drag a
SecureFTPConnection
(or
ExFTPConnection
) onto the form
Step 3
: Set the ServerAddress, UserName and Password properties in the Properties View
Step 4
: (Optional) Test the connection within the IDE.
Note: This step only serves to illustrate the design-time Connection Tester tool. It is not necessary to get the application working.
A
:
Press the
Test Connection
link at the bottom of the Properties View
B
: (Optional) Observe the Connection Tester as it connects to the FTP server
C
: Test file transfers by dragging a file from the Remote to the Local File list
Step 5
: Drag a Button and a ListBox onto the form
Step 6
: Double-click on the Button1 to create a handler for the Click event
Step 7
: Enter the following code in the event-handler
Step 8
: Run the application and press the Button1.
You should see a listing of the files on the FTP server.
That's the end of the Quick Start tutorial.
If you would like to read more, the
How to...
section is a good place to continue exploring edtFTPnet/PRO.