Search found 48 matches: ftpputfile

Return to advanced search

Re: Error FTP

... 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.
by wartiaga
Mon Apr 03, 2023 10:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error FTP
Replies: 7
Views: 565

Re: FTP Best Options ?

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 ...
by Otto
Sun Mar 05, 2023 9:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP Best Options ?
Replies: 8
Views: 745

Re: FTP with Harbour / MSVC / FWH issues

... 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" ...
by ShumingWang
Wed Jun 27, 2018 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP with Harbour / MSVC / FWH issues
Replies: 8
Views: 2232

FTP with Harbour / MSVC / FWH issues

... 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 ...
by TimStone
Tue Jun 19, 2018 11:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP with Harbour / MSVC / FWH issues
Replies: 8
Views: 2232

Como tomar fecha y hora de un archivo en un FTP??

... nItem<=len( aFileADW ) ) cADWFile :=oADWin:cDrive+oADWin:cFolder+'\'+aFileADW[ nItem, 1 ] cFTPFile :=cFTPFldr+'/'+aFileADW[ nItem, 1 ] lFTPOk :=FTPPUTFILE( hConnect, cADWFile, cFTPFile, 0, 0 ) nCount :=UpdateMeter( oMeter, nCount, nRefresh ) lFTPError :=( .not. lFTPOk ) bMsg :={ || MsgAlert( ...
by gsabattino
Sun May 06, 2012 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como tomar fecha y hora de un archivo en un FTP??
Replies: 1
Views: 1038

Re: FTPPUTFILE truncado a 0 bytes

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 ...
by Arturo Lopesoria
Sat Apr 21, 2012 3:48 pm
 
Forum: FiveWin for Pocket PC
Topic: FTPPUTFILE truncado a 0 bytes
Replies: 2
Views: 1544

Re: FTPPUTFILE truncado a 0 bytes

Please do your experiments using FTP console command. When it will work use the correct parameters you've found.

EMG
by Enrico Maria Giordano
Sat Apr 21, 2012 7:17 am
 
Forum: FiveWin for Pocket PC
Topic: FTPPUTFILE truncado a 0 bytes
Replies: 2
Views: 1544

FtpPutFile truncado a 0 bytes

... 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 ...
by Arturo Lopesoria
Sat Apr 21, 2012 1:06 am
 
Forum: FiveWin para Pocket PC
Topic: FtpPutFile truncado a 0 bytes
Replies: 0
Views: 793

FTPPUTFILE truncado a 0 bytes

... 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 ...
by Arturo Lopesoria
Sat Apr 21, 2012 1:04 am
 
Forum: FiveWin for Pocket PC
Topic: FTPPUTFILE truncado a 0 bytes
Replies: 2
Views: 1544

Re: Cliente FTP con FW+xH

... cUser, cPass, nService, 0, 0 ) IF hconnect == 0 ALERT ("ERROR EN CONEXION.",,"Descarga","X",,.t.) ELSE TRY lOk := FTPPUTFILE( hConnect, cOrigen, cDestino, 0, 0 ) alert (lOk) CATCH ALERT ("Error FTP.",,"Descarga","X",,.t.) END ENDIF ...
by Manuel Valdenebro
Sun Jan 29, 2012 12:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cliente FTP con FW+xH
Replies: 8
Views: 2977

Re: ayuda como subir archivo via ftp

... cFtpAddress, 21, cUser, cPass, 1, 0, 0 )    IF hconnect == 0       alert ("ERROR EN CONEXION.")    ELSE       TRY          lOk := FTPPUTFILE( hConnect, cOrigen, cDestino, 0, 0 )          alert (lOk)       CATCH          alert ("Error FTP.")       END    ENDIF INTERNETCLOSEHANDLE( ...
by Manuel Valdenebro
Fri Dec 09, 2011 3:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda como subir archivo via ftp
Replies: 3
Views: 1022

FTP ???

... 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" ...
by Mayor_Valenzuela
Tue Jun 07, 2011 7:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP ???
Replies: 8
Views: 2363

Re: Pritpal, HBIDE developer, assists us to use it with FWH

Hi Antonio Here is the stripped down list, for clarity purpose the irrelevant entries are removed. ---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------...
by Pritpal Bedi
Mon Jun 07, 2010 11:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99077

Re: Necesito conectarme a una FTP

Esta es la sintaxis usada:
// FTPPUTFILE( hConnect, "local file name", "remote file name", 0, 0 )

/* Ejemplo */
Code: Select all  Expand view

FTPPUTFILE( hConnect, "c:\temp_dir\ftp1.zip",  "/anon_ftp/TEST/FTP01.ZIP",  0,  0 )
 



Saludos

George
by George
Mon Apr 19, 2010 5:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Necesito conectarme a una FTP
Replies: 4
Views: 681

Re: Ayuda Por Favor

... "FTP://LAPERCHA.DYNDNS.ORG", INTERNET_INVALID_PORT_NUMBER, "usuario", "clave", INTERNET_SERVICE_FTP, 0, 0 ) ? FTPPUTFILE( hConnect, "envia.txt", "envia.txt", 0, 0 ) INTERNETCLOSEHANDLE( hConnect ) INTERNETCLOSEHANDLE( hInternet ) RETURN NIL ...
by Julio Perez
Thu Jan 28, 2010 3:33 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda Por Favor
Replies: 6
Views: 1634
Next

Return to advanced search