I'm looking for an FTP implementation for PB 10. I have found an ActiveX
named EZFTP from COOL.STF (http://www.coolstf.com/ax/EzFTPStd.zip) and
one code downloaded from http://powerbuilder.codexchange.sybase.com, but
is a code made for using in PB 5, and doesn't work in PB 10
Anyone uses any other implementation that works in PB 10?
Thanks.
Roland
"Héctor Garcia Peris" <hector...@ivie.es> wrote in message
news:43cce18e@forums-2-dub...
It doesn't work for me. After migration I get the following "Information
Errors":
2006/01/16 18:48:32 SOCKETS.PBL(u_winsock).2: Information C0207: Append
ALIAS FOR clause to external function 'wsastartup' for backward
compatibility.
2006/01/16 18:48:32 SOCKETS.PBL(u_winsock).7: Information C0207: Append
ALIAS FOR clause to external function 'getsockname' for backward
compatibility.
... and in some other functions.
The problem is when I make the open connection I get:
Connecting to host diskserver.ivie.es (193.8217.61.247 port 21)
Obviously the IP address is wrong, it seems as if it doesn't get the
address correctly.
I don't know what happens.
I have tried your code and works fine. But I have seen that ftp save is
not implemented, I really want to send files that is just what is not
implemented in your code.
"Héctor Garcia Peris" <hector...@ivie.es> wrote in message
news:43cdf1e7$1@forums-2-dub...
Is there any link where I get the referece of the n_wininet user object?
There has a lot of functionality but I can't find documentation about
the object.
Thanks.
"Héctor Garcia Peris" <hector...@ivie.es> wrote in message
news:43ce3d49@forums-2-dub...
if gn_ftp.of_get_session() = 0 then
ls_result = gn_ftp.of_ftp_internetconnect("server", "user", "pass")
if ls_result <> "" then
MessageBox("Error",ls_result,exclamation!,ok!)
end if
end if
ls_result = gn_ftp.of_ftp_getdirectory(ls_dir)
ls_result = gn_ftp.of_ftp_putfile(local_file, ls_dir + "/" + ls_file, false)
if ls_result <> "" then
MessageBox("Error",ls_result,exclamation!,ok!)
else
MessageBox("OK","File sent!",Information!,OK!)
end if
The function says that the file is sent, but in the FTP server I can't
see the file. What is wrong in my code?
Thank you all.