From austin.green at orcon.net.nz Tue Jan 7 03:53:03 2025 From: austin.green at orcon.net.nz (Austin Green) Date: Tue, 7 Jan 2025 15:53:03 +1300 Subject: Problem reading files on AIX In-Reply-To: <289r0q2q-4893-qo5o-1qos-60635p0rs7n1@unkk.fr> References: <289r0q2q-4893-qo5o-1qos-60635p0rs7n1@unkk.fr> Message-ID: <20250107155303.c6482a4e5167173c7ab2a510@orcon.net.nz> Hi, My Windows app using libssh2 works fine accessing *nix hosts, except when connected to an AIX platform. Stepping through all the files in a directory, it tries to read the first 64 bytes of each. This works fine on other *nix flavours, but on AIX the call to libssh2_scp_recv2 returns NULL, then libssh2_session_last_error returns 'Channel open failure (administratively prohibited)'. This happens only for *some* files, not all of them. They have appropriate permissions (I can log on to the AIX system via PuTTY and read the same files no problem). I know AIX is a bit of a strange beast, and one I'm unfamiliar with, so I'd be most grateful for any hints on how to diagnose this. Regards, Austin.