HP3000-L Archives

January 2003, Week 2

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:
James Hofmeister <[log in to unmask]>
Reply To:
Date:
Wed, 15 Jan 2003 01:31:28 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (85 lines)
Hello All,

RE: FTP - Binary or ASCII ?

Just a FYI... I won't say in 'all' cases, but I will say that in
'most' cases the FTP/iX client and server go into a proprietary
transfer mode for 3k to 3k file transfers and in 'most' cases the
transfer is performed internally as a type binary transfer.

You can see this proprietary transfer mode at work by entering 'debug'
at the FTP> prompt and watch the extra dialog that is performed from
3k to 3k.

Example:

:copy catalog.pub.sys,x
:ftp ector
File Transfer Protocol [A0012A03] (C) Hewlett-Packard Co. 2002 [PASSIVE SUPPORT]

220 HP ARPA FTP Server [A0011F04] (C) Hewlett-Packard Co. 2000 [PASV SUPPORT]
Connected to ector (15.44.48.52).  (FTPINFO 40)
Name(manager): manager/?.sys/?
230 User logged on
Remote system type is MPE/iX
200 TIMEOUT command ok.

ftp> debug
Debugging on (debug=1).  (FTPINFO 24)

ftp> put x x

---> PORT 15,44,48,51,228,146
200 PORT command ok.
---> SITE FILELABEL STOR x
150 File: x opened; data connection will be opened
---> SITE USER_LABELS x 1,1
200 USER_LABELS command ok.
---> PORT 15,44,48,51,228,147
200 PORT command ok.
---> STOR x;REC=-80,16,F,ASCII;DISC=14090,8
150 File: x;REC=-80,16,F,ASCII;DISC=14090,8 opened; data connection will be opened
226 Transfer complete.
1127456 bytes sent in 1.27 seconds (864.23 Kbytes/sec), 0.645 FTP CPU seconds
ftp>

In this example you see the non-standard "SITE USER_LABELS" command
and the "STOR" command with the parameters "REC=-80,16,F,ASCII;DISC=
14090,8" which have been automagically read from the source file and
used to built the destination file.

----------

ftp> put x

---> PORT 15,44,48,51,228,155
200 PORT command successful.
---> STOR x
150 Opening ASCII mode data connection for x.
226 Transfer complete.
1155380 bytes sent in 1.81 seconds (623.72 Kbytes/sec), 0.562 FTP CPU seconds

In this second example you see the rfc standard operation of the
FTP/iX client to a HP-UX system.

----------

I hope this helps.

Regards,

James Hofmeister
Hewlett Packard - Global Solutions Engineering (WTEC)
P.S. My Ideals are my own, not necessarily my employers.




________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com

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

ATOM RSS1 RSS2