FTP .NET Component
Home Search Knowledge Base Support

Support

Click here for access to live sales support.

For technical support please submit a ticket to the Help Desk.

 

Java and .NET Help

iTunes Gift Card Offer

For a limited time get a $50.00 iTunes gift card free with qualifying purchase.

Click for details.


News

JSCAPE launches Employee Giving Program
07/03/2010 08:26 AM

SSH Factory 3.6 Released
07/03/2010 06:22 AM

Secure iNet Factory 8.5 Released
07/03/2010 06:07 AM

Secure FTP Factory 8.5 Released
07/03/2010 06:03 AM

Secure FTP Applet 6.2 Released
06/10/2010 02:23 PM

JSCAPE Secure FTP Server 6.6 Released
06/10/2010 02:03 PM

more...


Tutorials

Enabling Phone Authentication
04/08/2009 11:24 AM

Detecting and Handling Brute Force Password Attacks
01/29/2009 09:44 AM

Creating a Domain
12/15/2008 11:33 AM

Public key authentication with SFTP
10/02/2008 07:59 AM

Formatting MimeMessages using .NET
09/14/2008 04:31 PM

Communicating with an IMAP4 server in .NET
09/14/2008 03:54 PM

more...


Articles

Access vital corporate documents on the go
07/01/2010 02:15 PM

SFTP and Encryption
05/17/2010 09:52 PM

Streamlining web uploads with ZIP archives
12/14/2009 10:11 AM

Using regular expressions in complex trigger conditions
09/08/2009 07:42 AM

Using custom forms to automate business processes
07/03/2009 08:51 AM

Public key authentication with SFTP
10/02/2008 07:59 AM

more...


Feedback

Request a feature or component

Request a Java or .NET component


 

FTP .NET Component

The FTP .NET component found in Secure FTP Factory for .NET provides an easy to use API for the transfer of files to / from an FTP server using FTP (File Transfer Protocol).

download secure ftp factory for .netpurchase secure ftp factory for .net

Features

  • Secure FTP support - Includes support for both implicit and expicit SSL transfers.
  • Transfer mode support - Includes both ASCII and Binary modes for transferring text or binary data.
  • Firewall support - Easily connect to FTP servers from behind a firewall.
  • Automatic transfer mode detection - Sets transfer mode automatically based on file extension.
  • Multiple file transfer - Transfer one or more files matching a regular expression e.g. *.txt
  • Directory transfer - Transfer entire directories recursively, automatically recreating directory structure on receiving side.
  • Progress monitor - Built in event listeners to track the progress of file transfers including bytes transferred, total time and total bytes transferred.
  • Timeout support - Generates an exception when connection to FTP server cannot be established or data cannot be read from FTP server within defined timeout.
  • File transfer interruption - Ability to interrupt file transfers at any time.
  • Message logging - Ability to stream messages exchanged between FTP client and server to a file.
  • Memory based uploads - Ability to upload a file that exists in memory to FTP server.
  • Memory based downloads - Ability to download file from FTP server and store in memory.
  • Remote filesize and date - Easily query a remote file on FTP server for it's size and last modification timestamp.
  • Command execution - Send arbitrary commands to FTP server.
  • Append support - Upload files to FTP server appending data sent to the end of of a file.
  • Resume support - Resume interrupted file transfers.
  • and more!!

Code Example

The following C# example demonstrates how to connect to an FTP server and perform a directory listing using the FTP .NET component.

/*
 * FtpExample.cs
 *
 * Copyright (c) 1999-2005 JSCAPE, LLC
 * 1147 S. 53rd Pl., Mesa, Arizona, 85206, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * JScape ("Confidential Information"). You shall not disclose such
 * Confidential Information and shall use it only in accordance with
 * the terms of the license agreement you entered into with JSCAPE.
 */
using System;
using System.IO;
using System.Text;
using System.Threading;
using Jscape.Ftp;

namespace FtpExample {

   public class FtpExample {

      public Ftp myFtp = null;

      public FtpExample(string hostname, string username, string password) {
         myFtp = new Ftp(hostname,username,password);

         myFtp.FtpConnectedEvent += new FtpConnectEventHandler(OnConnected);
         myFtp.FtpDisconnectedEvent += new FtpConnectEventHandler(OnDisconnected);

         myFtp.Connect();

         Console.WriteLine( myFtp.GetDirListingAsString("*.*") );

         myFtp.Disconnect();

      }

      [STAThread]
      static void Main(string[] args) {
         string hostname,username,password;

         Console.WriteLine("Enter FTP server host name or IP");
         hostname = Console.ReadLine();
         Console.WriteLine("Enter User name");
         hostname = Console.ReadLine();
         Console.WriteLine("Enter Password");
         hostname = Console.ReadLine();

         FtpExample ftpExample = new FtpExample(hostname,username,password);
      }


      private void OnConnected(object sender, FtpConnectEventArgs e) {
         Console.WriteLine("Connected to " + e.HostName);
      }

      private void OnDisconnected(object sender, FtpConnectEventArgs e) {
         Console.WriteLine("Disconnected " + e.HostName);
      }

   }
}

download secure ftp factory for .netpurchase secure ftp factory for .net