Using the Command Line WS_FTP Pro Using a Batch File Instead of typing the command at the MS-DOS prompt, you may find it
more expedient to enter the command line into a batch file (a text file with
the file extension .bat). This makes it easier to correct mistakes and to run
the same command again.
You run the command by invoking the .bat file at MS-DOS prompt,
double-clicking the icon for the .bat file from within Windows, or running
the .bat file from another application (such as a program scheduler).
Here is a batch file (for the example at the beginning of this chapter) as
viewed from a Windows text editor:
When you run the batch file named Tag.bat, WS_FTP Pro uploads the
Tag.doc file to the Damion FTP site.
Note that using a batch file involves placing the command name ftp95pro
at the beginning of each line in the file. Since each instance of the
command name starts the WS_FTP Pro application (and connects to the
FTP site), you would only use a batch file to work with one command at a
time. If, on the other hand, you want to issue a group of commands, follow
the procedure in “Multiple Folders or Commands” on page 117.
Remember that if a file name has a space in it, you must enclose the entire
command in quotes.
Home About Us Our Network Contact Us
Web Hosting Solutions
DYNTEX GROUP
 
Register Your Domain - $14.95 per year
| | | | |
  WS_FTP Pro User's Guide
 
       
  • Go to Top of Page
  • Home
    UNIX Web Hosting | Merchant Accounts | Dedicated Servers | E-Commerce
    Domain Registration | About Us | Our Network | Contact Us | Site Map
    Terms of Use | Privacy Policy | Guarantees
     
    Open a Trouble Ticket