[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: TESTPUT NAMEFMT 1
Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
Hi,
>
> Wouldn't it be quote site namefmt 1? I believe namefmt is an iSeries
> specific command.
>
You COULD use quote in FTPAPI like this:
if FTP_quote(sess: 'site namefmt 1') <> 250
eval msg = ftp_error
dsply msg
endif
However, it's also possible to use:
if FTP_namfmt(sess: 1) < 0
eval msg = ftp_error
dsply msg
endif
In either case, the namefmt that gets changed is ALWAYS the namefmt for
the server. In other words, it only affects the filename in the
"peRemote" parameter. The local filename (the filename in the peLocal
parameter) will always use IFS-style naming.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------