... server, userid and password to do a test here. Enrico I sent in your email a prg with the data to connect in the ftp. Returns .F. when you run the FTPPutFile command. Thank you for your help.
Hi Tim, Can't you use ftpgetfile and ftpputfile as shown in my example? Just out of interest: what do you want to send. For example, I create reports and deliver them via email. So far, I have always sent the data with ftp to a server and from ...
... AS LONG, nFlagsAndAttribs AS DWORD, nFlags AS DWORD, @nContext AS PTR ) AS BOOL; PASCAL FROM "FtpGetFileA" LIB hLib DLL32 FUNCTION FTPPUTFILE( hConnect AS LONG, cLocalFile AS LPSTR, cNewRemoteFile AS LPSTR, nFlags AS DWORD, @nContext AS PTR ) AS BOOL; PASCAL FROM "FtpPutFileA" ...
... FWH that must do FTP processes. It works perfectly. I am using the .dll WININET and calling the functions: INTERNETOPEN INETCLOSEHANDLE FTPGETFILE FTPPUTFILE INTERNETCONNECT However, when I build using Harbour / MSVC / FWH, it appears to not recognize the WININET.dll because it gives me unidentified ...
Enrico. Thanks for your response, as always your help is very usefull. Problem is parameters are correct, in fact only in very few of some tests the file was saved ok, but steel having same problem again in subsecuent tests with same parameters. Always, iclusive when file was saved ok, time is very ...
... via GPRS basado en el ejemplo de Enrico Maria Giordano, y que trabajaba si problemas, ahora presenta el siguietne problema: Al utilizar la funcion FTPPUTFILE, envia el archivo al servidor, se cuelga como 30 segundos, y no regresa ningun error, a verificar el servidor, el archivo enviado tiene una ...
... User IDs, Filenames, etc.. But now, Same program, without changes, only changing parameters like IP, userid, filenames, etc. began to fail: FAIL: FTPPUTFILE Begin Transfer File, but after 30 seconds, the file is saved in FTP server, but filelen is 0 bytes. Possible problems: - SERVER. Original ...
... AS DWORD, nFlags AS DWORD, @nContext AS PTR ) AS BOOL; PASCAL FROM "FtpGetFileA" LIB "wininet.dll" DLL32 FUNCTION FTPPUTFILE( hConnect AS LONG, cLocalFile AS LPSTR, cNewRemoteFile AS LPSTR, nFlags AS DWORD, @nContext AS PTR ) AS BOOL; PASCAL FROM "FtpPutFileA" ...
Hi Antonio Here is the stripped down list, for clarity purpose the irrelevant entries are removed. ---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------...