|
MBA 683 E-Business Technology --
Syllabus Classes References Examples Student Info Guest Info
|
FTP ReferenceFile Transfer Protocol (FTP) and be used to copy files between computers. For this class we will be using FTP to transfer information between your computer and the server.
Please follow the File Name Rules given below to avoid problems. Some Web development tools will do FTP transfers for you. You should have FTP software for troubleshooting and monitoring server files, even if you are using a tool that does automatic publishing. Our experience has been:
Be sure that your Windows system is set to display file extensions.
File Name RulesFollow these file naming rules to avoid problems:
FTP SoftwareThe ws_ftp95 le program is free and will do FTP transfers from Windows machines. This program is on many machines at USF or can be downloaded from Ipswitch.com. Absolute FTP from Van Dyke is an inexpensive alternative that is easier to use (it looks like Windows Explorer). Updating your personal Web site using WS-FTPStart ws_ftp or click the Connect button and you will get a Session Properties window. Enter the following values: Profile name: your choice of name Click OK, and the program should connect to the server (you may be prompted for your password). Once you have connected, you will see two windows:
Each Window has buttons for Change Directory (ChgDir), Make Directory (MkDir), etc. that control the directory used for transfers. To upload files to the server, select one or more files in the window on the left and
click the right arrow button ( To download files from the server, select one or more files in the window on the
right and
click the left arrow button ( Initially your server directory will be empty except for some system files with names beginning with period (please don't change or erase them) and three directories (cgi-bin, public_html, and secure_html). The files for your Web pages go in the public_html directory. Initially this directory will contain an index.html file created by Hurricane Electric, you may change or replace this file. File DirectoriesFiles for your Web pages go into the public_html directory of your account or in subdirectories of this directory. You probably want to put images in a separate subdirectory. In WS_FTP, click the MkDir button on the right to create a directory. WS_FTP can access multiple server directories, but only one server directory at a time. Instead of copying files between directories on the server, copy them to your PC and back to the server. There are two ways to change directories in WS_FTP:
File Transfer ModesWhen publishing files to the server with WS_FTP, be sure to use ASCII mode for transferring text files (.htm, .html, .php, .sql, .txt) and Binary mode for all other file types. Use the check boxes under the file windows to specify the type of transfer. To have ASCII mode used automatically:
Corrupted files may result if you upload a text file in Binary mode and download it using ASCII mode. This will put extra control characters (Carriage Returns) in the file and cause problems. To check, open the file in Word, select the option to View Paragraph Marks (Tools, Options, View) and check for two paragraph markers (¶) at the end of each line. Fix your file using the Word Find and Replace command to find ^p^p and replace with ^p.
|
|
© 2001 by Chuck Ehrlich, all rights reserved. Comments to webmaster. Updated on September 18, 2001. |