Open Business Objects for EDI
v3.6.0

com.americancoders.util
Class FTPClient

java.lang.Object
  |
  +--com.americancoders.util.FTPClient

public class FTPClient
extends java.lang.Object

a class for transmitting files via ftp
parts are: Copyright 1998,1999,2000 Robert Lynch, Peter van der Linden
for these copyrighted source code parts visit: http://www.afu.com/jdownload.html


Constructor Summary
FTPClient(java.lang.String server, java.lang.String user, java.lang.String pass)
           
FTPClient(java.lang.String server, java.lang.String user, java.lang.String pass, boolean debug)
           
 
Method Summary
 void append(java.lang.String dir, java.lang.String file, java.lang.String what, boolean asc)
           
 java.lang.String download(java.lang.String dir, java.lang.String file)
           
 java.lang.String download(java.lang.String dir, java.lang.String file, boolean asc)
           
 void upload(java.lang.String dir, java.lang.String file, java.lang.String what)
           
 void upload(java.lang.String dir, java.lang.String file, java.lang.String what, boolean asc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPClient

public FTPClient(java.lang.String server,
                 java.lang.String user,
                 java.lang.String pass)

FTPClient

public FTPClient(java.lang.String server,
                 java.lang.String user,
                 java.lang.String pass,
                 boolean debug)
Method Detail

download

public java.lang.String download(java.lang.String dir,
                                 java.lang.String file)
                          throws java.io.IOException
java.io.IOException

download

public java.lang.String download(java.lang.String dir,
                                 java.lang.String file,
                                 boolean asc)
                          throws java.io.IOException
java.io.IOException

append

public void append(java.lang.String dir,
                   java.lang.String file,
                   java.lang.String what,
                   boolean asc)
            throws java.io.IOException
java.io.IOException

upload

public void upload(java.lang.String dir,
                   java.lang.String file,
                   java.lang.String what)
            throws java.io.IOException
java.io.IOException

upload

public void upload(java.lang.String dir,
                   java.lang.String file,
                   java.lang.String what,
                   boolean asc)
            throws java.io.IOException
java.io.IOException

Open Business Objects for EDI
v3.6.0


OBOE is a trademark or registered trademark of American Coders, Ltd. in the US and other countries.
Copyright 1999-2004 American Coders, Ltd.
POB 97462
Raleigh NC 27624 USA
All Rights Reserved.