× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Scott -

Yeah...I think that copying it to a stream file and then sending it
seems to preserve the record length. Seems like when sFTP transfers a
physical file that there's no concept of record delimiters
(naturally), but copying it to a stream file allows me to specify a
linefeed, which the other side wants.

The other side is a mainframe. Those parms (LRECL, BLKSIZE, RECFM) are
mainframe dataset definition parms. They worked with FTP since I could
send them with the quote site commands, since mainframes like those
parms. I specify them with that fine FTPAPI in the ftp_quote call.

Thanks...

- Michael

On Wed, Oct 22, 2008 at 9:50 PM, Scott Klement
<midrange-l@xxxxxxxxxxxxxxxx> wrote:
Michael,

The SITE command, by definition, is for commands that are not part of
the FTP protocol. So they definitely will be host system dependent.

QUOTE is for bypassing the FTP client. It's for sending commands to the
server that the client doesn't understand.

sftp is not FTP. It doesn't support many of FTP's things -- and it sure
as heck doesn't support proprietary things that aren't even part of the
FTP standard!

I'd suggest an alternative... except that despite having written several
FTP applications from the ground up, I have NO CLUE what 'lrecl=256
blksize=27904' does! They look like commands that would be used to
control a tape drive...

Michael Ryan wrote:
I'm trying to do the equivalent of "quote site lrecl=256 blksize=27904
recfm=fb" when using sFTP from the iSeries. Is this host system
dependent? Does this command (quote or site) even exist in sFTP?

Thanks...

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.