home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / ftpifs4.zip / faq.txt < prev    next >
Text File  |  1999-03-12  |  11KB  |  249 lines

  1.                       FTPIFS Frequently Asked Questions
  2. 1. General questions
  3.     a. What is FTPIFS?
  4.     b. What is the main difference between FTPIFS and any other ftp client?
  5.  
  6. 2. Unclear features
  7.     a. What is MetaDrive?
  8.     b. Why I have to use 'rd MetaDir' command to remove MetaDirectory?
  9.     c. I am getting strange results while trying to use MetaDrive or FTPFS
  10.        parameters (e.g. Passive, Limit, ...)
  11.     d. I don't want to type my password as plain text in command line.
  12.     e. I have a limited maximum of connections to a host. And FTPIFS has problems
  13.        with this host.
  14.     f. What is FTP proxy and what is HTTP proxy?
  15.     g. You have directory cache feature. What do I have to do to refresh
  16.        directory?
  17.     i. What is ftp-to-ftp proxy mode?
  18.  
  19. 3. Performance issues
  20.     a. Is FTPIFS fast or slow client?
  21.     b. How can I get CPS visible?
  22.     c. What is the third parameter of recopy.cmd?
  23.  
  24. 4. Dialup issues
  25.     a. I can't use FTPIFS because I have dialup connection to Internet, can I?
  26.  
  27. 5. Problems and limitations
  28.     a. I can't work with FTPIFS drive from DOS (WINOS/2) session.
  29.  
  30.                               General questions
  31.  
  32. Q: What is FTPIFS?
  33. A: FTPIFS is an OS/2 ftp client.
  34.  
  35. Q: What is the main difference between FTPIFS and any other ftp client?
  36. A: FTPIFS was made as OS/2 File System Driver.
  37.     This means that you may attach FTP host to a drive letter and use it from
  38.    any OS/2 session. Any OS/2 program will have direct access to FTP without
  39.    making special changes to it.
  40.     As an OS/2 developer you may use standard system calls to access FTP host
  41.    using any programming language from C to REXX. I've used no special features
  42.    or calls to make recopy.cmd. It is pure REXX.
  43.  
  44.                                Unclear features
  45.  
  46. Q: What is MetaDrive?
  47. A:  As you know any disk, CD or diskette takes a drive letter. Systems, that has a
  48.    plenty of resources use many drive letters -  and so has little amount
  49.    available for FTPIFS. Metadrive helps in such a situation.
  50.     Metadrive allows you to have more than one host attached to a single drive
  51.    letter. You can have a virtual directory structure like this:
  52.  
  53.    [W:\]                        MetaDrive
  54.       |
  55.       |-- Local                 Hosts from your LAN
  56.       | |
  57.       | |-- Company             ftp.mycompany.net
  58.       | +-- Myserver           localhost
  59.       |
  60.       |-- Internet              Internet hosts
  61.       | |
  62.       | |-- Active              Direct-accessed hosts
  63.       | | |
  64.       | | +-- Provider          ftp.myprovider.net
  65.       | |
  66.       | |-- Passive             Hosts accessed using 'passive' option
  67.       | | |
  68.       | | |-- cdrom             ftp.cdrom.com
  69.       | | +-- hobbes            hobbes.nmsu.edu
  70.       | |
  71.       | +-- Proxied             Hosts accessed using http proxy
  72.       |   |
  73.       |   +-- friend            ftp.myfriend.ml.org
  74.       |
  75.       +-- Quick                 ftp.software.ibm.com - Quick-accesed host in
  76.                                 the MetaDrive root directory
  77.  
  78.      This tree can be constructed using next commands:
  79.      [C:\]ftpfs use w: -
  80.      [C:\]ftpfs use w:\Local -
  81.      [C:\]ftpfs use w:\Local\Company ftp.mycompany.net
  82.      [C:\]ftpfs use w:\Local\Myserver localhost
  83.      [C:\]ftpfs use w:\Internet -
  84.      [C:\]ftpfs use w:\Internet\Active -
  85.      [C:\]ftpfs use w:\Internet\Active\Provider ftp.myprovider.net
  86.      [C:\]ftpfs use w:\Internet\Passive - passive
  87.      [C:\]ftpfs use w:\Internet\Passive\cdrom ftp.cdrom.com passive
  88.      [C:\]ftpfs use w:\Internet\Passive\cdrom hobbes.nmsu.edu passive
  89.      [C:\]ftpfs use w:\Internet\Proxied - proxy=http://proxy.myprovider.net:3128
  90.      [C:\]ftpfs use w:\Internet\Proxied\friend ftp.myfriend.ml.org
  91. proxy=http://proxy.myprovider.net:3128
  92.      [C:\]ftpfs use w:\Quick ftp.software.ibm.com
  93.  
  94. Q: Why I have to use 'rd MetaDir' command to remove MetaDirectory?
  95. A: 'rd' command in OS/2 is used to remove empty directories. So most File
  96.    Managers when you tell them to remove directory first deletes it's contents,
  97.    and then removes the directory itself. So if you will try to remove
  98.    MetaDirectory from FileManager It can erase the whole FTP host.
  99.  
  100. Q: I am getting strange results while trying to use MetaDrive or FTPFS
  101.    parameters (eg. Passive, Limit, ...)
  102. A: The most possible problem, is that you are using unregistered version.
  103.    If you want try all the features, use demo key from \demo subdirectory.
  104.    For details of demo limitation see demo.txt
  105.  
  106. Q: I don't want to type my password as plain text in command line.
  107. A: FTPFS utility has the option to ask username and/or password from user.
  108.  
  109.    Here is examples of URLs with descriptions of modes:
  110.  
  111.    ftp://host               Connect to host with username 'anonymous'
  112.                             and default password
  113.    ftp://uname@host         Connect to host with username 'uname'
  114.                             and provide default password if needed
  115.                             (Use this mode if server recognizes another
  116.                             username as anonymous, for example 'ftp')
  117.    ftp://uname:pass@host    Connect to host with username 'uname'
  118.                             and password 'pass'
  119.    ftp://@host              Ask for username; use default password
  120.    ftp://:@host             Ask for both username and password
  121.    ftp://uname:@host        Use username 'uname' and ask for password
  122.  
  123.    Note: 'ftp://' part of URL is optional
  124.  
  125. Q: I have limited maximum of connections to a host. And FTPIFS has problems
  126.    with this host.
  127. A: Use limit=n FTPFS option. Then FTPIFS will make no more than n connections
  128.    to this host.
  129.  
  130. Q: What is FTP proxy and what is HTTP proxy?
  131. A: FTP proxy is the proxy, that use special form of FTP login to establish
  132.    connections to remote host.
  133.    HTTP proxy is the proxy that uses HTTP protocol to provide access to many
  134.    types of resources, including FTP.
  135.  
  136.    Here is the short questionary for you to determine
  137.    what type of proxy you  have:
  138.  
  139.    I am using this proxy in Netscape/Web Explorer/Opera/other Web browser
  140.    This is HTTP proxy.
  141.  
  142.    I am using this proxy with WGET ftp client
  143.    This is HTTP proxy.
  144.  
  145.    I am using this proxy with FTP browser (except wget)
  146.    This is FTP proxy.
  147.  
  148.    I am using this proxy with FTP browser in no-proxy mode.
  149.    To login I connect to proxy and enter 'password@host' as password
  150.    This is FTP proxy.
  151.  
  152.    The proxy resides on 21 port.
  153.    This is FTP proxy
  154.  
  155.    The proxy resides on 80 or 3128 port.
  156.    This is HTTP proxy
  157.  
  158.    If you still don't know if your proxy FTP or HTTP try enter
  159.         [C:\]telnet -p proxy_port proxy_host
  160.    After the screen goes blank, wait a little.
  161.  
  162.    If you can see invitation, starting with '2' symbol, this is FTP proxy.
  163.    If you don't see anything, this is HTTP proxy.
  164.  
  165. Q: You have directory cache feature. What do I have to do to refresh directory?
  166. A: Directory refresh is automatically started when you reread the directory.
  167.    When data will be transferred to your system, old copy of directory will be
  168.    discarded.
  169.    So, to update directory, reread directory once (for example
  170.    issue 'dir <directory>' command), wait some time (for directory to transfer)
  171.    and then reread it once more.
  172.    Also cached copy of directory is automatically discarded when one of 'write'
  173.    commands entered. 'Write' commands are: MakeDir, RemoveDir, DeleteFile
  174.    Close file (opened in write mode).
  175.    Additional commands that initiate refreshing are: GetFileAttributes,
  176.    OpenFile
  177.  
  178. Q: What is ftp-to-ftp proxy mode.
  179. A: Let's describe the situation when you need to copy files from one FTP server
  180.    to another.
  181.    Using any FTP browser you will first download this file to your local
  182.    workstastion and then upload it to destination server. There are some
  183.    minuses of such operation:
  184.     1)You will need space on your local drive to put file on.
  185.     2)Data flow will be unoptimal
  186.       (Source server -> your workstation -> destination server)
  187.       Data is send over network twice and things get more bad if
  188.       you have slow connection to Internet.
  189.    Also you can you FTPFS in normal mode. The only minus will be unoptimal
  190.    data flow.
  191.    Using ftp-to-ftp proxy mode you will simply control copying, and the
  192.    data will be transfered directly from one server to another.
  193.  
  194.  
  195.                               Performance issues
  196.  
  197. Q: Is FTPIFS fast or slow client?
  198. A: I've compared FTPIFS with WGET on local server. FTPIFS was faster than
  199.    WGET for nearly 10%.
  200.    In general, there is some overhead in more often directories downloads.
  201.    But file transferring supposed to be as fast as in other FTP client.
  202.    Also, you may compare them by yourself (check next answer).
  203.  
  204. Q: How can I get CPS visible?
  205. A: Use recopy.cmd enclosed. This command file shows you CPS and ETA.
  206.  
  207. Q: What is the third parameter of recopy.cmd?
  208. A: This parameter is the block size of transfer.
  209.    Enlarging it you can lower overhead, but don't make it too large - this
  210.    is the memory to be allocated while transferring.
  211.    There are three types of overhead:
  212.     FTPIFS overhead (The smallest one - simply reading cycle)
  213.     System overhead (passing commands from program to FTPIFS)
  214.     REXX overhead (Output of status line after processing of each block)
  215.  
  216.    But: there is block size limitations on first two levels
  217.         FTPIFS will break the request it receives into ~20Kb blocks,
  218.         System accepts blocks no larger than 65Kb
  219.         So, if you select 100Kb block, you will have two blocks on system
  220.         and ~5 blocks at FTPIFS level.
  221.         But you will lower the most time-consuming overhead: REXX
  222.         (since screen output is the most time-consuming operation)
  223.         I can propose you to use blocks, that can be transferred in
  224.         ~1 second. recopy.cmd default is normal for dialup operations,
  225.         but if you are using stronger channel, raise it (or even change
  226.         default in recopy.cmd if you know REXX).
  227.  
  228.                                 Dialup issues
  229.  
  230. Q: I can't use FTPIFS because I have dialup connection to Internet, can I?
  231. A: You can. FTPIFS was especially designed for Dialup usage:
  232.     It has reget feature
  233.     It has proxy/passive modes
  234.     You must not reattach drives after redials, it will automatically reconnects
  235.         to a host.
  236.  
  237.                            Problems and limitations
  238.  
  239. Q: I can't work with FTPIFS drive from DOS (WINOS/2) session.
  240. A: You can't use FTPIFS drive from DOS sessions (with exception of
  241.    case-insensitive servers). The problem is that DOS uppercases file names.
  242.    It is normal for OS/2, but most FTP servers are case-sensitive and they
  243.    will fail. I am looking for workarounds, but they are all too
  244.    time-consuming.
  245.  
  246.  
  247.  
  248.  
  249.