Subject: | |
From: | |
Reply To: | |
Date: | Thu, 10 Jul 1997 12:02:16 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I'm working on a project that requires the use of FTP. I want to grab
several files from a Unix box (RS/6000) and plop them onto our HP3000.
My problem lies in the MGET command. When I try to use it to retrieve
many files at once, I get errors like:
ftp> dir
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 67296
-rw-r----- 1 hci staff 14146846 Jun 26 03:59 eop_062597
-rw-r----- 1 hci staff 3627127 Jun 28 03:57 eop_062797
-rw-r----- 1 hci staff 5294422 Jul 03 16:31 eop_070197
-rw-r----- 1 hci staff 630420 Jul 05 04:11 eop_070497
-rw-r----- 1 hci staff 6926878 Jul 09 03:56 eop_070897
ftp> mget eop*
200 PORT command successful.
150 Opening data connection for eop*.
226 Transfer complete.
60 bytes received in 0.00 seconds (14.65 Kbytes/sec)
mget eop_062597? y
An invalid character was found in an MPE syntax name.
(FILE SYSTEM ERROR -102)
Data Transfer Request Failed. (FTPERR 13)
mget eop_062797? y
An invalid character was found in an MPE syntax name.
(FILE SYSTEM ERROR -102)
Data Transfer Request Failed. (FTPERR 13)
Unfortunately, we don't have the FTP/ARPA manual here, nor the
LaserRom, so I can't RTFM and the on-line help is pretty lame.
It looks like FTP is trying to write to the MPE filespace instead of the
POSIX filespace and the underscore is giving MPE fits. Can I force a
write to POSIX-ville? If so, how?
Do I need to drop down to a plain 'ol GET (which will allow me to
specify a local-filename? eg:GET remote-file [local-file][;buildparms]. Of
course, this means I have to devise a way to get the remote filenames,
write them to a file, then process each one, etc.
Any suggestions would be appreciated. As I subscribe to the digest
version of the list, a CC: to my e-mail address would also be appreciated.
TIA
Pat Shugart
Oaksoft Consulting, Inc
[log in to unmask]
(248) 489-6565
|
|
|