Re: ftp transfers of .htm to .html

Matt Foster (mwf@engr.engr.uark.edu)
Sun, 28 May 1995 23:57:34 -0500 (CDT)


Date: Sun, 28 May 1995 23:57:34 -0500 (CDT)
From: Matt Foster <mwf@engr.engr.uark.edu>
To: "Alexander, Larry" <lalexander@acad.com>
Cc: Multiple recipients of list <www-html@www10.w3.org>
Subject: Re: ftp transfers of .htm to .html
In-Reply-To: <9503277989.AA798994785@clink.acad.com>
Message-Id: <Pine.SUN.3.91.950528235104.18616A-100000@engr.engr.uark.edu>

On Thu, 27 Apr 1995, Alexander, Larry wrote:

> I am currently creating HTML files on my PC. The file name extensions are 
> obviously filename.htm. When I ftp these over to my Sun workstation httpd 
> server, I would like the filenames to be filename.html. Does anyone know of 
> a quick and dirty method to rename these files when they are ftp'ed to the 
> Sun? It's a real pain to remember to rename these all of the time.

  What method are you using to FTP these files from your PC to your Sun?  
If you're using a command-line interface such as ftp or ncftp, then you 
can make use of the optional, second argument of the put and mput 
commands.  When you send the files from your PC to the Sun, then you can 
just use a command like this:

	ftp>put myhtml.htm myhtml.html

  If you're usings a graphical-interface to FTP the files, such as 
ftptool, then you should be able to like the target files name in a 
text-box.  It should be easily accessed when you're transferring the files.

--
matt();
http://www.engr.uark.edu/~mwf/