[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9661.0. "UNIX 4.0 - ftp ntrans not working properly" by CSC32::B_GRUBBS () Tue Apr 29 1997 18:28

    I have a customer trying to use ntrans to change
    the case of mixed case filenames being transferred between
    DUNIX machines using ftp.
    
    They are doing:
    
    	ftp> ntrans ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz
    
       when I do 'status', I dont see that all the characters list as
       mapped for ntrans:
    
    ftp> status
    Connected to tsc.csc.cxo.dec.com.
    No proxy connection.
    Mode: stream; Type: binary; Form: non-print; Structure: file
    Verbose: on; Bell: off; Prompting: on; Globbing: on
    Store unique: off; Receive unique: off
    Case: off; CR stripping: on
    Ntrans: (in) ABCDEFGHIJKLMNOP (out) abcdefghijklmnop
    Nmap: off
    Hash mark printing: off; Use of PORT cmds: on
    
    
    	Under these conditions if I transfer a file that has the mapped
    	ntrans characters listed it is translated properly
    
    	Here are some example filenames and what they transferred as:
    
    	AbCd		abcd
    	TeSt		TeSt
    	RCOd_bld.P	Rcod_bld.p   (notice all but the 'R' were listed
    					for ntrans under ftp status)
    
    
    look like QAR time, or am I expecting too much from ftp ntrans?  8^}
    
    --Bert Grubbs
                                                                      
    
                                                                    
T.RTitleUserPersonal
Name
DateLines
9661.1Hard-coded to 16NNTPD::"[email protected]"Brian HaleyWed Apr 30 1997 10:3811
Hi,

The buffers are hard-coded in the ftp sources to only allow 16
translations, it's the same way in BSD.  I guess I don't see any
reason this can't be increased, you might as well file a qar.

You can use the 'case' subcommand with get and mget to do the
same thing, but it won't work with put and mput.

-Brian
[Posted by WWW Notes gateway]
9661.2CSC32::B_GRUBBSWed Apr 30 1997 13:0311
    
    actually case didnt do the right thing with mixed case filenames
    either.
    
    I sort of expected that since the manpage indicates case is for
    ALL uppercase or lowercase translations.
    
    I'll open a QAR on ftp/ntrans
    
    
    --Bert