Adding a project reference

Top  Previous  Next

Follow these steps to add the Secure FTP Factory for .NET component to your Visual Studio .NET project.

 

1. Create a new project, or open an existing project, to which you want to add Secure FTP Factory for .NET.

 

2. From the Solution Explorer, right-click the References node and select Add Reference.

 

add_ref_01

 

The Add Reference dialog box is displayed.

 

add_ref_02

 

3. From the .NET tab, scroll down to locate Secure FTP Factory for .NET.

 

4. Select Secure FTP Factory for .NET and click Select.

 

Note

 

You may also double-click Secure FTP Factory for .NET to select it.

 

 

5. Click OK to add the reference to your project.

 

The Secure FTP Factory for .NET reference is now listed in your project references.

 

add_ref_03

 

6. You can now create an Ftp instance. For example,

 

[C#]

using Jscape.Ftp;

 

// Create FTP instance

Ftp myFtp = new Ftp("ftp.server.com", "username", "password");

 

 

[Visual Basic]

Imports Jscape.Ftp.Ftp

 

Private WithEvents myFtp As Jscape.Ftp.Ftp

' Create FTP instance

myFtp = New Ftp("ftp.server.com", "username", "password")