Hi,
I enabled only the FTPS connection between two systems in both directions (CHGFTPA ALWSSL(*ONLY)) and set the certificates correctly.
I tested the FTPS in iterative and it works correctly.
These are the steps that the procedure takes:
WRK_SOCKET = FTP_open(P655.P655RCVSYS : FTP_PORT : 10 ...
Search found 13 matches
- Wed Dec 11, 2024 7:54 am
- Forum: FTPAPI
- Topic: MCH1210 in do_iconv_real procedure FTPAPI
- Replies: 7
- Views: 278412
- Tue Dec 10, 2024 8:07 am
- Forum: FTPAPI
- Topic: MCH1210 in do_iconv_real procedure FTPAPI
- Replies: 7
- Views: 278412
Re: MCH1210 in do_iconv_real procedure FTPAPI
Hi,
this is the debug value:
EVAL ictbl
ICTBL.RETURN_VALUE = 0
ICTBL.CD(1) = 280
ICTBL.CD(2) = 1208
ICTBL.CD(3) = 0
ICTBL.CD(4) = 0
ICTBL.CD(5) = 0
ICTBL.CD(6) = 0
ICTBL.CD(7) = 0
ICTBL.CD(8) = 33056
ICTBL.CD(9) = -1396812187
ICTBL.CD(10) = -455061503
ICTBL.CD(11) = 0
ICTBL.CD(12) = 0 ...
this is the debug value:
EVAL ictbl
ICTBL.RETURN_VALUE = 0
ICTBL.CD(1) = 280
ICTBL.CD(2) = 1208
ICTBL.CD(3) = 0
ICTBL.CD(4) = 0
ICTBL.CD(5) = 0
ICTBL.CD(6) = 0
ICTBL.CD(7) = 0
ICTBL.CD(8) = 33056
ICTBL.CD(9) = -1396812187
ICTBL.CD(10) = -455061503
ICTBL.CD(11) = 0
ICTBL.CD(12) = 0 ...
- Mon Dec 09, 2024 9:23 am
- Forum: FTPAPI
- Topic: MCH1210 in do_iconv_real procedure FTPAPI
- Replies: 7
- Views: 278412
Re: MCH1210 in do_iconv_real procedure FTPAPI
Hi,
I solved MCH by changing the definition of RC from int(10) to uns(10)
However I have a problem during ftps, the commands are taken correctly, but as soon as "TYPE I" is written the system does not recognize the command.
Checking in debug I see that the RC of the iconv in the do_real_iconv ...
I solved MCH by changing the definition of RC from int(10) to uns(10)
However I have a problem during ftps, the commands are taken correctly, but as soon as "TYPE I" is written the system does not recognize the command.
Checking in debug I see that the RC of the iconv in the do_real_iconv ...
- Fri Dec 06, 2024 2:28 pm
- Forum: FTPAPI
- Topic: MCH1210 in do_iconv_real procedure FTPAPI
- Replies: 7
- Views: 278412
MCH1210 in do_iconv_real procedure FTPAPI
Good morning,
I recently downloaded ftpapi 2.8 and started using it.
I debugged it and got this error:
MCH1210 in the function
dcl-proc do_iconv_real export; present in the FTPTCP member of the QRPGLESRC file.
In particular, I found the error when running:
rc = iconv( ictbl
: p_inputBuf ...
I recently downloaded ftpapi 2.8 and started using it.
I debugged it and got this error:
MCH1210 in the function
dcl-proc do_iconv_real export; present in the FTPTCP member of the QRPGLESRC file.
In particular, I found the error when running:
rc = iconv( ictbl
: p_inputBuf ...
- Fri Feb 23, 2024 10:06 am
- Forum: FTPAPI
- Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
- Replies: 7
- Views: 79249
Re: NAMEFMT 1 - 500 Subcommand NAME not valid
Hi Scott,
I understand that every software is different and I understand that IBM FTP and FTPAPI are different. I would just like to know if it is possible to do this or if I really have to change the logic of my program
Thanks
I understand that every software is different and I understand that IBM FTP and FTPAPI are different. I would just like to know if it is possible to do this or if I really have to change the logic of my program
Thanks
- Tue Feb 06, 2024 11:55 am
- Forum: FTPAPI
- Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
- Replies: 7
- Views: 79249
Re: NAMEFMT 1 - 500 Subcommand NAME not valid
Hi scott,
this is the difference in the code between NAMEFMT 1 and SITE NAMEFMT 1.
dcm_admin
331 Enter password.
230 DCM_ADMIN logged on.
OS/400 is the remote operating system. The TCP/IP version is "V7R5M0".
250 Now using naming format "1".
257 "/IASP/QSYS.LIB/DSCOBJDCMW.LIB" is current ...
this is the difference in the code between NAMEFMT 1 and SITE NAMEFMT 1.
dcm_admin
331 Enter password.
230 DCM_ADMIN logged on.
OS/400 is the remote operating system. The TCP/IP version is "V7R5M0".
250 Now using naming format "1".
257 "/IASP/QSYS.LIB/DSCOBJDCMW.LIB" is current ...
- Mon Feb 05, 2024 10:17 am
- Forum: FTPAPI
- Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
- Replies: 7
- Views: 79249
Re: NAMEFMT 1 - 500 Subcommand NAME not valid
Good morning,
I need both client and server to use namefmt 1, these are the differences between the two commands:
namefmt 1
250 Now using naming format "1".
Il server NAMEFMT è 1.
Il client NAMEFMT è 1.
quote site namefmt 1
250 Now using naming format "1".
I need both client and server to use namefmt 1, these are the differences between the two commands:
namefmt 1
250 Now using naming format "1".
Il server NAMEFMT è 1.
Il client NAMEFMT è 1.
quote site namefmt 1
250 Now using naming format "1".
- Fri Feb 02, 2024 8:13 am
- Forum: FTPAPI
- Topic: NAMEFMT 1 - 500 Subcommand NAME not valid
- Replies: 7
- Views: 79249
NAMEFMT 1 - 500 Subcommand NAME not valid
Good morning,
I added a new procedure by copying it from FTP_NamFmt because i need the NAMEFMT 1 command, in this new procedure I simply changed the "SITE NAMEFMT" to "NAMEFMT", everything else remains the same.
This however leads me to get the error "500 Subcommand NAME not valid"
What am I doing ...
I added a new procedure by copying it from FTP_NamFmt because i need the NAMEFMT 1 command, in this new procedure I simply changed the "SITE NAMEFMT" to "NAMEFMT", everything else remains the same.
This however leads me to get the error "500 Subcommand NAME not valid"
What am I doing ...
- Thu Dec 14, 2023 8:14 am
- Forum: HTTPAPI
- Topic: Call services with 2 different operation
- Replies: 8
- Views: 93814
Re: Call services with 2 different operation
Thanks Scott, found the problem
, changing the CSID of the XML file to 1208 (UTF-8).
Thank you for your support and see you soon
Cinzia

Thank you for your support and see you soon
Cinzia
- Mon Dec 11, 2023 12:19 pm
- Forum: HTTPAPI
- Topic: Call services with 2 different operation
- Replies: 8
- Views: 93814
Re: Call services with 2 different operation
Hi Scott,
thanks for the reply
in SOAPUI I see this information:
POST https://xxx.xxx.eu/xxxxxxcargo/services/cargo HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "https://xxxx.xxxx.eu/xxxxs/cargo"
Content-Length: 4011
Host: xxx.xxxx.eu
Connection: Keep ...
thanks for the reply
in SOAPUI I see this information:
POST https://xxx.xxx.eu/xxxxxxcargo/services/cargo HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "https://xxxx.xxxx.eu/xxxxs/cargo"
Content-Length: 4011
Host: xxx.xxxx.eu
Connection: Keep ...