| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectexamples.ftp
public final class ftp
This is an example program demonstrating how to use the FTPClient class. This program connects to an FTP server and retrieves the specified file. If the -s flag is used, it stores the local file at the FTP server. Just so you can see what's happening, all reply strings are printed. If the -b flag is used, a binary transfer is assumed (default is ASCII).
 Usage: ftp [-s] [-b]  
 
 
 
 
Field Summary 
 
 
static StringUSAGE
           
 
 
Constructor Summary 
 
ftp()
           
 
 
Method Summary 
 
 
static voidmain(String[] args)
           
 
 
Methods inherited from class java.lang.Object 
 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Field Detail 
USAGE
public static final String USAGE
 
Constructor Detail 
ftp
public ftp()
 
Method Detail 
main
public static final void main(String[] args)
 
 
  
   
    Overview  
      Package  
    Class  
      Use  
      Tree  
      Deprecated  
      Index  
      Help  
  
 
 
 PREV CLASS 
 NEXT CLASS 
  FRAMES   
 NO FRAMES   
 
 
 
  SUMMARY: NESTED | FIELD | CONSTR | METHOD 
DETAIL: FIELD | CONSTR | METHOD 
Copyright © 1997-2010 The Apache Software Foundation. All Rights Reserved.