Ok. Vern was asking about get, not put, for the .file extension.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, June 11, 2008 1:21 PM
To: Midrange Systems Technical Discussion
Subject: RE: FTP question

Shannon,

You CAN do a
put myPCdir/myfile.savf /qsys.lib/mylib.lib/myfile.savf
and it REALLY will create a save file called myfile in the library mylib.

Vern, see how after my cd /... command it said "Oh, this dude wants
namefmt 1 and I'll just switch automatically since he's done no file
system dependent commands yet?

From a real ftp session:
ftp gdisys
Connected to gdisys.dekko-1.
220-QTCP at GDISYS.dekko-1.
220 Connection will close if idle more than 5 minutes.
User (gdisys.dekko-1:(none)): rob
331 Enter password.
Password:
230 ROB logged on.
ftp> cd /qsys.lib/rob.lib
250-NAMEFMT set to 1.
250 "/QSYS.LIB/ROB.LIB" is current library.
ftp> ls myfile.file
200 PORT subcommand request successful.
550 File MYFILE in library ROB not found.
ftp> ls myfile.savf
200 PORT subcommand request successful.
550 File MYFILE in library ROB not found.
ftp> bin
200 Representation type is binary IMAGE.
ftp> put myfile.savf /qsys.lib/rob.lib/myfile.savf
200 PORT subcommand request successful.
150 Sending file to member MYFILE in file MYFILE in library ROB.
226 File transfer completed successfully.
ftp: 219648 bytes sent in 0.08Seconds 2816.00Kbytes/sec.
ftp> ls myfile.savf
200 PORT subcommand request successful.
125 List started.
MYFILE.SAVF
250 List completed.
ftp: 13 bytes received in 0.00Seconds 13000.00Kbytes/sec.
ftp> ls myfile.file
200 PORT subcommand request successful.
125 List started.
MYFILE.SAVF
250 List completed.
ftp: 13 bytes received in 0.00Seconds 13000.00Kbytes/sec.

FTP recognizes files, and those with an attribute of savf. PRTF's will
blow it's mind though.
ftp> ls acr100fm.dspf
200 PORT subcommand request successful.
501 Unknown extension in database file name.
Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.