In general, the login string is 
    user@targethost
. But that is not sufficient in some cases. Maybe you want to log
    in to another port on the targetmachine. You may also specify a port
    like in the following example
    
    user@targethost:port
    There is a nuisance if you use Netscape or another browser to use FTP over a
    proxy: These programs have a similar URL for FTP servers. So we must be able
    to replace the characters that separate the user, the hostname and the port
    number. jftpgw allows you to use a comma to do that. The following logins
    are all valid:
    
    user@host,port
    user@host:port
    user,host:port
    user,host,port
    Okay, let's say jftpgw runs on the host foo.bar.com on port 2370
    and you want to connect to sunsite.unc.edu on port 21 as the user
    "anonymous" using Netscape. The URL would look like this:
    
    ftp://anonymous,sunsite.unc.edu,21@foo.bar.com:2370
    In another example we connect to the jftpgw proxy on jftpgw.host.com
    on port 2370, let it log in to targethost as user user
    on port 3454 and send passwd as the password.
   
    ftp://user,targethost,3454:passwd@jftpgw.host.com:2370
    Now, in order to confuse the reader a little bit more, we also specify
    the transfer mode (active or passive) in the login string from above. You
    just append a :a for active FTP or a :p for passive FTP.
    And yes, you guessed it already, you may also use a comma that is not
    interpreted by a browser:
    
    ftp://user,targethost,3454,a:passwd@jftpgw.host.com:2370
    If you want to use jftpgw with another FTP proxy, you can embrace the user
    name in quotation marks in the login string as in
   
    "user@host"@jftpgwhost
   Please note that you can also simplify the login by changing the
   configuration file. You can reduce our complicated login from above
   
    ftp://user,targethost,3454,a@jftpgw.host.com:2370
   to a simple
   
   ftp://user@jftpgw.host.com:2370
 
   in Netscape by setting the following configuration options in the
configuration file. Set 
   forward to targethost, 
   serverport to 3454, 
   defaultmode to active.
    |