Text Conversion

Charles Marcus CharlesM at Media-Brokers.com
Tue Oct 16 12:00:37 GMT 2001


In spite of the initial attractiveness of doing this automagically, I am
forced to agree...

It should be possible, though to create a link that you could use to
drag-n-drop files onto to convert them, though, no?

Charles

-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Ries van twisk
Sent: Tuesday, October 16, 2001 9:39 AM
To: Bryan Frey; samba at lists.samba.org
Subject: Re: Text Conversion


I think that samba should stay away from content, no-analyzing and
changing of files on the fly but there is a simple solution to this.
Buy/download a editor that can handle both file formats.

Ries

Bryan Frey wrote:
>
> As with most Samba users, I am also very interested in this topic.
> >From what I have read (and past experience with FTP dev), the obstacle
> is that it is difficult to determine when to convert.  With FTP, most
> of the developers utilize a user defined file extension list that isn't
> too reliable.
> A coworker came up with an alternative for our FTP apps that was much
> more reliable.  What he did was evaluate the first 1K bytes of data to
> determine if it was a binary or ascii file.
>
> I don't have time to work on this, but if someone on the Samba Team
> wants more info, I'll see what I can remember and try to get them in
> contact with the original author.
>
> Bryan
>
> --- "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com> wrote:
> > Charles,
> > The reason you got this type of answer, partially, is because
> > this topic has been discussed <to death> on this list several
> > times.  You might want to take a look at the searchable archives
> > for the samba lists, and see what was decided and why, and other
> > suggestions for your issue.
> > Hope this helps,
> > Don
> >
> > -----Original Message-----
> > From: Charles Marcus [mailto:CharlesM at Media-Brokers.com]
> > Sent: Monday, October 15, 2001 11:45 AM
> > To: samba at lists.samba.org
> > Subject: RE: Text Conversion
> >
> >
> > Joel,
> >
> > Not everyone is a programmer, and if there is a way to do this
> > automatically
> > when the files are copied, so much the better, even if you are a
> > programmer.
> >
> > Man, answers like that really gripe me sometimes.
> >
> > On the flipside, thans for the scripts -
> >
> > Charles
> >
> > -----Original Message-----
> > From: samba-admin at lists.samba.org
> > [mailto:samba-admin at lists.samba.org]On
> > Behalf Of Joel Hammer
> > Sent: Sunday, October 14, 2001 1:24 PM
> > To: John Gaughan; samba at lists.samba.org
> > Subject: Re: Text Conversion
> >
> >
> > Samba doesn't do this for you.
> > There is software out there that gives you drag and drop conversion
> > from
> > windows to linux/unix text formatting, and some of it is free.
> > But, it is so easy to do, cat file | sed 's/
> $//', why bother?
> > To go back, cat file | sed 's/^.*$/&
> /'
> > This takes a newer version of sed.
> > Joel
> >
> > > Is there any way to get Samba to convert text files like FTP does?
> > I
> > > searched everywhere in the online documentation for a way to
> > specify file
> > > extensions to convert, but found nothing.
> > >
> > > If I drag and drop a text file from my Windows machine to a Samba
> > share, I
> > > would like Samba to convert the end-of-line characters to the Linux
> > format.
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba






More information about the samba mailing list