× 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 Patrik,

The IBM I FTP server can take a hint -- your first file reference determines the name format it will use.  If you use lib/file, it assumes NAMEFMT 0; if you use /dir1/dir2/dir3, it assumes NAMEFMT 1.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /

On 8/18/2020 5:00 PM, Vernon Hamberg wrote:
I'm confused, Patrik - do you have a script on the IBM i, is that what "scripted client" means?

Is the remote server an IBM i? Non-IBM i servers don't understand of use NAMEFMT, probably just ignore it.

If you have a script on the IBM, just use the namefmt 1 command - since v4r5, this will try to set namefmt on the server, as well. Before v4r5 you use the site namefmt 1 command to set it on the server - no harm if the server is not an ibm i or as/400.

I assume by "script" that you override stdin to a file member that has the commands.

HTH
Vern


On 8/18/2020 6:09 PM, Patrik Schindler wrote:
Hello,

after a while of fruitless research, I opt to ask the community: How can I set the IBM i FTP *Client* NAMEFMT to 1 without the scripted client trying to forward this setting to the remote server?

Depending on the remote server, I get a 550 Permission denied back, or an "unknown SITE command". Yes, it does no harm but I don't want to spam someones logs with "possible hacker attack" or the like.

Thanks!

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.