com.myjavaworld.ftp.examples
Class Upload

java.lang.Object
  extended by com.myjavaworld.ftp.examples.Upload

public class Upload
extends Object

This example demonstrates how to connect to an FTP site and upload a file to the FTP server.

Version:
1.0
Author:
Sai Pullabhotla, psai [at] jMethods [dot] com

Constructor Summary
Upload()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Upload

public Upload()
Method Detail

main

public static void main(String[] args)
                 throws InstantiationException,
                        ClassNotFoundException,
                        IllegalAccessException,
                        FTPException,
                        ConnectionException
Parameters:
args - command line arguments.
Throws:
InstantiationException - propogated
ClassNotFoundException - propogated
IllegalAccessException - propogated
FTPException - propogated
ConnectionException - propogated


Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.