home *** CD-ROM | disk | FTP | other *** search
- Windows Sockets FTP Client Application - - Version 94.01.29
-
- Written by:
- John A. Junod Internet: <junodj@css583.gordon.army.mil>
- 267 Hillwood Street <zj8549@trotter.usma.edu>
- Martinez, GA 30907 Compuserve: 72321,366 AOL: jjunod
-
- THE INFORMATION AND CODE PROVIDED IS PROVIDED AS IS WITHOUT WARRANTY
- OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE. IN NO EVENT SHALL JOHN A. JUNOD BE LIABLE FOR ANY DAMAGES
- WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS
- OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF JOHN A. JUNOD HAS BEEN
- ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
- This program executable is released into the public domain.
-
- The user interface for this FTP client is designed with the novice FTP user
- in mind. Usage should (??) be obvious with the possible exception of the
- the transfer mode; ascii, binary or l8. All controls are standard Windows
- controls.
-
- My development and testing was all completed at home on two 386 PC's using
- the Trumpet Windows Sockets DLL Alpha 18 with NCSA Telnet and WinQVT/Net 2.6
- and 3.94 as the remote host.
-
- Some code concepts and names are based on code that is copyright by the
- Regents of the University of California or code published in UNIX Network
- Programming by W. Richard Stevens or code in WATTCP or other public sources.
- The rest is based on my knowledge of Windows programming and my
- interpretation of RFC 969 and the Windows Sockets API version 1.1.
-
- Thanks to Jeff Welty for his code related to the ANS Gateway.
- Thanks to Robert E. Stockwell for his code related to an Internet Firewall.
- Thanks to Dr. Graham Barlow for detailed PDP11/RSX11M info, VMS info,
- detailed testing and bug reports.
- Thanks to "hari" for detailed VMS info.
- Thanks to Dave Heap for MAC-NCSA info.
- Thanks to Anton Helm for MAC-PS info (still isn't working 100%).
- Thanks to Tony Kay for the detailed AS/400 info.
- Thanks to Bill Kelly for the detailed MVS info.
- Thanks to Gerry VonRiesen for help with help.
- Thanks to Johan van der Hoeven for bug fixes.
- Thanks to Mario Guerra, Chris Sacksteder and a number of other people
- for bug reports, suggestions, good comments and assistance.
-
- Installation:
-
- YOU MUST HAVE A PROPERLY INSTALLED WINSOCK.DLL FOR THIS APPLICATION
- TO WORK. REFER TO YOUR WINSOCK.DLL DOCUMENTATION FOR SETUP!!
-
- 1. Create a directory for this program and copy WS_FTP.EXE,
- WS_FTP.INI and WS_FTP.HLP to that directory. If you have an
- existing WS_FTP.INI file in your windows directory, copy it into
- the executable directory to keep your old configurations.
-
- The search order for WS_FTP.INI and WS_FTP.HLP is:
- 1) current directory
- 2) executable directory
- 3) windows directory
-
- 2. Create an ICON in any Program Manager group.
- a. Use the File Manager and drag the program into a Program
- Manager group.
- b. Use the File New menu option in Program Manager to create
- the entry for this program.
-
- Known problems:
-
- 1) May not work correctly for some FTP servers due to the directory
- listing that comes back. In this case the directories and files
- dialog boxes will remain empty and the full directory listing will
- be visible by clicking the [LONGDIR] button. If you have a host that
- doesn't work, e-mail me a listing of that listing and the output
- of the remote FTP help command.
-
- 2) No support for EBCDIC (does anyone use this??) transfers.
-
- HISTORY
- -------
-
- 93.10.01
- Fixed the gethostbyname problem.
- Fixed WinQVT/Net 3.x directory expansion problem.
- Fixed transfer abort problem with [CLOSE] or [EXIT].
-
- 93.10.05
- added host remembering
- added automatic password for anonymous userid (option mail address)
- corrected problem going to biochemistry.cwru.edu
- corrected linked directories problem (??)
-
- 93.10.10
- moved options button to main window
- fixed options, including prompting, bell, receive_unique
- added filename conversion for illegal dos filenames
- added timeout editing in host dialog
- changed listen timeout from 5 seconds to standard timeout
- changed messages going to status window
- set nolinger on socket close
- rewrote error module to eliminate possible copyright problem
- cleaned/colored main window
- added MS Visual C++ makefile
-
- 93.10.17
- added host linked userids, passwords, initial directory and hosttype
- added support for new host types (note that these are mostly untested)
- moved debug window routines to ws_debug.c
- changed bind address to 0 for vxdtcp (seems to work ok for Trumpet also,
- so I left it in, even though I never could get vxdtcp to work reliably.
- vxdtcp bind returned a WSAEADDRNOTAVAIL (or something like that))
- corrected bug in filename conversion
- changed anonymous userid processing (must select a check box, now)
-
- NOTE: While WS_FTP allows you to save a password for a host and does some
- minor encryption, it is not intended to be secure and is not recommended
- to be used for private accounts! It was added on request.
-
- 93.10.24
- more clean up of the source code
- attempt to fix problems with Unisys 5000 EXOS (junk) ftp daemon
- fix remote to local name conversion when multiple dots/spaces exist
- fix timeout problem. timeouts ONLY happen when connecting or
- waiting for control message responses. send and receive processing
- contains no timeout processing. timeouts limited to 65 seconds
- rewrote host information routines to use global memory so number of
- saved names may be increased. userid automatically saved for
- each host. timeouts saved by host.
- released HBRUSH resources properly
-
- 93.11.12
- uses port 21 if "services" file not found
- added two line scrolling status window
- updated debug and paint procedures to multi-window versions
- added period to end of names not having an extention for viewer
- modified about dialog box
- temporary files are now located in the %TEMP% directory instead
- of root of current drive.
-
- 93.12.04
- fixed VMS name parsing (from Graham Barlow and "hari")
- used protocol 6 if "protocol" file not found
- incorporated AMS gateway (firewall) machine connection (thanks
- to Jeff Welty for code modification)
- lifted restriction on userid and password length
- fixed MVS/VM name parsing
- incorporated account processing (not tested)
- prompt for password if not entered
- added support for ftp.uwp.edu (use WinQVT/Net)
- eliminated blank lines in VM listing
- added support for NT ftp daemon (use IBMPC TCP/IP)
- added std support (autodetect) for another NT ftpd
- allow a timeout on on initial connection if FTP_PRELIM
- eliminated setsockopt(linger) for Lanera (also fixed problem with
- WinQVT/Net ftp server)
- fixed setdisk problem for MSC++ (uses _chdrive)
-
- 93.12.05
- Reworked HOST dialog box and all HOST routines. Now allows
- unlimited save of configurations, and allows deletions.
- Reworked GATEWAY host dialogs. (Gateways are saved for each config)
- Now uses own WS_FTP.INI file (in Windows directory) You will
- "lose" all previous hosts. (If you need information from the
- earlier version, print out the WINDOWS\winsock.ini file.)
- For a good start, copy the WS_FTP.INI file to your Windows dir.
- Implemented DRAG/DROP processing. You drag one or more files from
- the Windows File Manager and drop anywhere on the main FTP window
- (or when iconized) and they will be transfered to the current
- directory on the remote host using the current transfer mode.
- This does support file name prompting for name changes. Default
- name will be the lowercase basename of the file. You can't drag
- directories and you can't drag from the remote host to another
- process.
-
- 94.01.09 (source not released)
- Added popup menu to replace debug window (use right mouse button on
- a gray area of the screen).
- Blanked out password from std input box.
- Added MAC NCSA support (from Dave Heap)
- Added ABORT processing (not perfect yet)
- Removed debug window
- Fixed problem with PORT 0,0,0,0,nn,nn
- Returned focus to original window from abort box (see HASH command!)
- Search for WS_FTP.INI and WS_FTP.HLP is:
- 1. current directory
- 2. executable directory
- 3. windows directory (copy your OLD one to executable directory!)
- Added help processing
- Enabled store unique (if host supports STOU)
- Fixed a number of minor problems that I don't remember now.
-
- 94.01.11
- Completely rewrote the ReadLine routines to deal with Novell's
- Winsock.DLL
- Auto detect a Windows NT ftp server.
- Auto detect a MAC Peter Server
- Optimized some to reduce executable size and memory usage.
- Corrected value retrieve in abort box.
-
- 94.01.20
- firewall and gateway changes.... (from Robert E. Stockwell)
- Stack corrections.
- Exec button addition (uses file associations)
- Updated HELP file.
- Added ability to invoke WS_FTP with a command line option of
- "ws_ftp hostname:full_path_to_file" in which case, it will
- connect to the host and download the file into the current
- working directory. Please refer to the HLP file for documentation
- on "Auto Transfer of Files".
- Made change of host type in options dialog box take effect immediately.
-
- 94.01.25
- Left Double click on status message area to get a log windows.
- Allow save of log messages.
- Added AS/400 host type. (with info from Tony Kay)
- More auto detect corrections.
- Right click popup menu now works on listboxes.
- Modified MVS code (with info from Bill Kelly)
- Fixed new VM MultiNet bug
- Added PDP RSX11M code (thanks to Dr. Graham Barlow!)
- Sizeable window
-
- 94.01.29
- File masks (use "-altr" for date sorted unix hosts) press ENTER for update
- Minimize/maximize buttons on log window
- Click on ChgDir and Ok with no directory name for refresh
- Fixed double click location for log window when window resized
- Added long listing for some host types.
- Added horizontal scroll bars to file listings.
- Fixed transfer rate display.
- Fixed CWD .. to use CDUP if it can for VMS, MVS, etc..
- Fixed default host type to be able to display dos style directories.
-
-