HP3000-L Archives

November 2000, Week 1

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:
"HOFMEISTER,JAMES (HP-USA,ex1)" <[log in to unmask]>
Reply To:
HOFMEISTER,JAMES (HP-USA,ex1)
Date:
Fri, 3 Nov 2000 15:46:15 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (98 lines)
Hello Stan, Folks @ 3000-l,

re: FTP, mput, batch, 6.0: bug.  Is there a patch or workaround?

Hi,

I'm on MPE/iX 6.0, PP ?, and have a problem with FTP
(version A0009001) in the "mput" command when run in batch mode.

----------------------------------------------------------------------

The problem doesn't seem to exist on MPE/iX 6.5 PP1
(FTP version A0010A02)

Does anyone know of a patch for FTP on 6.0 that might fix this?

I'm trying to use the "mput" FTP command in batch (from the shell),
and am getting an error:

   >ftp

   File Transfer Protocol [A0009001] (C) Hewlett-Packard Co. 1990
   ftp> open opus
   220 opus.allegro.com FTP server (Version wu-2.6.0(1) Fri Jun 23 09:17:44
EDT 2000) ready.
   Connected to opus (192.168.0.200).  (FTPINFO 40)
   ftp> user someone something
   331 Password required for someone.
   230 User someone logged in.
   Remote system type is UNIX.
   ftp> bin
   200 Type set to I.
   ftp> prompt
   Interactive mode off.  (FTPINFO 42)
   ftp> cd /home/httpd/html/software/hp3000/stuff/
   250 CWD command successful.
-> ftp> mput ./*
-> Syntax: mput local-files [;build-parms]
-> Invalid Command Syntax.  (FTPERR 10)
   ftp> quit
----------------------------------------------------------------------

I tried this and did not run into a problem...

In the shell 'vi' I created a file INPUT:

open cai.atl.hp.com
user jph password
bin
prompt
cd temp
mput ./*
quit

shell/iX> ftp <INPUT
File Transfer Protocol [A0010A02] (C) Hewlett-Packard Co. 1990
ftp> open cai.atl.hp.com
220 cai.atl.hp.com FTP server (Version 1.7.214.1 Thu Oct 23 19:57:52 GMT
1997) r
eady.
Connected to cai.atl.hp.com (15.44.48.56).  (FTPINFO 40)
ftp> user jph password
331 Password required for jph.
230 User jph logged in.
Remote system type is UNIX
ftp> bin
200 Type set to I.
ftp> prompt
Interactive mode off.  (FTPINFO 42)
ftp> cd temp
250 CWD command successful.
ftp> mput ./*
200 PORT command successful.
150 Opening BINARY mode data connection for ./.sh_history.
226 Transfer complete.
1672 bytes sent in 0.05 seconds (33.32 Kbytes/sec)
200 PORT command successful.
150 Opening BINARY mode data connection for ./BT100JAY.
226 Transfer complete.
8386560 bytes sent in 7.91 seconds (1035.14 Kbytes/sec)
...
ftp> quit
221 Goodbye.
shell/iX>
shell/iX> exit

Did you create a BYTESTREAM file ???  Is it possible you created a fixed
ASCII
NUMBERED file with EDITOR ???  I ran this test on my 6.5 machine.


Regards,

James Hofmeister
Hewlett Packard
Worldwide Technology Network Expert Center
P.S. My Ideals are my own, not necessarily my employers.

ATOM RSS1 RSS2