Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

documentation/2858: missing trailing slashes in ftp urls in ftp.html

From: Sebastian Stark <seb(at)todesplanet.de>
Date: Sun Aug 04 2002 - 17:58:07 EDT

>Number:         2858
>Category:       documentation
>Synopsis:       missing trailing slashes in ftp urls in ftp.html
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 07 13:10:45 MST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Sebastian Stark
>Release:        www
>Organization:
>Environment:
	
	System      : OpenBSD 3.1
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:
Most ftp URLs in ftp.html lack trailing slashes where they would belong to so ftp(1) treats them as files. (even though they're directories) >How-To-Repeat:
cut'n'paste over to ftp(1) won't work.
>Fix:

sed '/[^\/]<\/a>/s/\(ftp:\/\/.*\)\(\<\/a>\)/\1\/\2/' sed '/[^\/]">/s/\(<a href="ftp:\/\/.*\)\(">\)/\1\/\2/'

(could be done much easier maybe...)

>Release-Note:
>Audit-Trail:
>Unformatted:
Received on Thu Nov 7 15:42:25 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:36 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library