From owner-freebsd-questions@FreeBSD.ORG Thu May 22 13:06:58 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B06C37B401 for ; Thu, 22 May 2003 13:06:58 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id A05A343FA3 for ; Thu, 22 May 2003 13:06:55 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id h4MK5B8a044703 for ; Thu, 22 May 2003 17:05:11 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Thu, 22 May 2003 17:05:11 -0300 (ART) From: Fernando Gleiser To: questions@freebsd.org Message-ID: <20030522165345.O35791-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-100.0 required=5.0 tests=USER_IN_WHITELIST version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) Subject: Maybe OT: Automatic CRLF conversion? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2003 20:06:58 -0000 Here's my problem: I have a FreeBSD server running an aplication. The operators of the aplication (read: people who doesn't know Unix) need to upload some files to the server, and the aplication reads them. The files are flat ASCII. They where using FTP in ASCII mode for that, but they wanted it to be "even easier", so I set up Samba on the server and they just drag and drop the files. The problem is with the CRLF conversion, because the app needs the files the unix way, but they upload them the DOS way. I need an automatic way to handle the conversion, since there is nobody who knows Unix there, and I can't tell them "run such command". They have no shell access. I was thinking of writing a little script which runs from cron, converts the files and then moves them to the final dir, but maybe there is a way of doing it from samba itself. Does anybody have any idea? Thanks in advance and sorry for the OT. Fer