Hi ,
I m trying to retrieve data using ssl
Using ftp_implicit
ftp = FTP_open( 'address
: 22
: 100
: FTPS_IMPLICIT
: FTPS_PRIVATE
: FTPS_PRIVATE );
I got the following error
DSPLY gsk_secure_soc_init: Peer not recognized or badly formatted
if i change it FTPS_TST the server reply with
0 ...
Search found 13 matches
- Mon Nov 17, 2025 2:11 pm
- Forum: FTPAPI
- Topic: Unable to convert data from CCSID 1208 to CCSID 819
- Replies: 4
- Views: 59026
Re: Unable to convert data from CCSID 1208 to CCSID 819
You are right the message tell something different but based on the file present on IBM i. IFS ccsid is 819 and physical file have ccsid 280.
The orignal file is an ISO-8859 codification (8 bit)
Thanks
The orignal file is an ISO-8859 codification (8 bit)
Thanks
- Tue Nov 11, 2025 4:48 pm
- Forum: FTPAPI
- Topic: Unable to convert data from CCSID 1208 to CCSID 819
- Replies: 4
- Views: 59026
Re: Unable to convert data from CCSID 1208 to CCSID 819
Hi Scott,
What i m tryng to do is convert from 819 (ifs ccsid file) to 280 (italian ccsid)
Thanks
What i m tryng to do is convert from 819 (ifs ccsid file) to 280 (italian ccsid)
Thanks
- Tue Nov 04, 2025 5:10 pm
- Forum: FTPAPI
- Topic: Unable to convert data from CCSID 1208 to CCSID 819
- Replies: 4
- Views: 59026
Unable to convert data from CCSID 1208 to CCSID 819
All,
I m facing this issue when i try to perform a get from a file in ifs to a physical file
CCSID of the IFS file is 819 (i got the same error even if the ccsid is 1208)
Any idea how bypass this error "Unable to convert data from CCSID 1208 to CCSID 819"
If i use the cpyfrmimpf command using ccsid ...
I m facing this issue when i try to perform a get from a file in ifs to a physical file
CCSID of the IFS file is 819 (i got the same error even if the ccsid is 1208)
Any idea how bypass this error "Unable to convert data from CCSID 1208 to CCSID 819"
If i use the cpyfrmimpf command using ccsid ...
Re: CPA5305
All,
I change FTPAPIR4 service program in order to create the phisycal file with a record number greater that 400000
Thanks
I change FTPAPIR4 service program in order to create the phisycal file with a record number greater that 400000
Thanks
CPA5305
All,
I' m using ftp_get command to transfer data from IFS to a physical file. The files not exist and I don't know the record length. When the transfer begin I got CPA5305 . There's a way to avoid it? I know that I can use some alternative like coyfrmstmf or using the "normal" FTP command or using ...
I' m using ftp_get command to transfer data from IFS to a physical file. The files not exist and I don't know the record length. When the transfer begin I got CPA5305 . There's a way to avoid it? I know that I can use some alternative like coyfrmstmf or using the "normal" FTP command or using ...
- Sat Oct 18, 2025 4:08 pm
- Forum: FTPAPI
- Topic: FTPAPI using HTTP Proxy
- Replies: 10
- Views: 63796
Re: FTPAPI using HTTP Proxy
Hi Scott,
I try to give you some example.
Proxy ip is 185.99.999.98
Final destination ip is 77.73.99.999 port 21
Using EPSV
ftptcp_getPeerAddr(peCtrlSock) return wwhost variable equal to 185.99.999.98 (proxy) port retrieve by message is 32148
pasvcmd return this connection return tcp_conn(wwHost ...
I try to give you some example.
Proxy ip is 185.99.999.98
Final destination ip is 77.73.99.999 port 21
Using EPSV
ftptcp_getPeerAddr(peCtrlSock) return wwhost variable equal to 185.99.999.98 (proxy) port retrieve by message is 32148
pasvcmd return this connection return tcp_conn(wwHost ...
- Fri Oct 17, 2025 8:30 am
- Forum: FTPAPI
- Topic: FTPAPI using HTTP Proxy
- Replies: 10
- Views: 63796
Re: FTPAPI using HTTP Proxy
Hi Scott,
Absolutely no my purpose is to use a proxy.
Based on my understanding one of the difference beetween EPSV and PASV is the response from the server
PASV in this case the server replies with an IP address and a port number (in the format (h1,h2,h3,h4,p1,p2)).
EPSV in this case the server ...
Absolutely no my purpose is to use a proxy.
Based on my understanding one of the difference beetween EPSV and PASV is the response from the server
PASV in this case the server replies with an IP address and a port number (in the format (h1,h2,h3,h4,p1,p2)).
EPSV in this case the server ...
- Thu Oct 16, 2025 4:59 pm
- Forum: FTPAPI
- Topic: FTP_RENAME
- Replies: 1
- Views: 21369
FTP_RENAME
Dear All,
I faced the following issue.
After run FTP_RENAME i got 501 Error Number during RNTO sequence.
Here the joblog , can someone help ?
Thanks
Basilio
0: > CWD /
0: 250 CWD command successful
0: > RNFR te20251010
0: 350 File or directory exists, ready for destination name
0: > RNTO ...
I faced the following issue.
After run FTP_RENAME i got 501 Error Number during RNTO sequence.
Here the joblog , can someone help ?
Thanks
Basilio
0: > CWD /
0: 250 CWD command successful
0: > RNFR te20251010
0: 350 File or directory exists, ready for destination name
0: > RNTO ...
- Tue Oct 14, 2025 1:57 pm
- Forum: FTPAPI
- Topic: FTPAPI using HTTP Proxy
- Replies: 10
- Views: 63796
Re: FTPAPI using HTTP Proxy
Hi Scott,
I have applied another change . I add to ftp_quit this line
c clear wkProxDS
Because if i start a new connection and the proxy don't needed it's does not work
Thanks
I have applied another change . I add to ftp_quit this line
c clear wkProxDS
Because if i start a new connection and the proxy don't needed it's does not work
Thanks