HP3000-L Archives

November 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Tue, 25 Nov 2003 16:15:14 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
PS on smbclient...

smbclient always considers file transfers as binary by default;
however, if your file is text with lines separated by CR+LF chars,
the translate option should help to get rid of the CR during get
or add them during put...

 :setvar mylogon "myPassword -U myUser -W myDomain"

 :xeq /usr/local/samba/bin/smbclient &
 : "\\myPC\myShare !mylogon -c 'translate; get pcfile mpefile'"

Note that mpefile (or ./mpefile in MPE escaped syntax, if you
want to see it with LISTFILE, for example) is still bytestream.

 :xeq /bin/frombyte "mpefile MPEFILE"

All the above from memory, so test carefully for syntax errors ;-)

Regards, Lars.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2