Search found 22 matches: nbufsize

Return to advanced search

Conexion FTP TSL

... correctamente: FtpSendFile(cFTP, cSource, cTarget, nVar41, nVar42, 14147 ) FUNCTION FtpSendFile( cFTPSite, cSource, cTarget, cUser, cPass, nBufSize ) LOCAL oInternet, oFTP DEFAULT cUser:="", cPass:="", nBufSize:=2000 IF EMPTY(cFtpSite) .or. EMPTY(cSource) .or. EMPTY(cTarget) ...
by servicomver
Wed Jan 25, 2023 10:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conexion FTP TSL
Replies: 7
Views: 1052

Re: Clases TURL y TIPClientFTP

Gustavo, EL ejemplo que tu me enviaste, con la pequeña modificación que te indiqué (nBufSize), parace funcionar correctamente. Puedes comprobar si ha llegado el fichero fwintro.pdf a tu servidor FTP ? gracias //////////////////////////////////////////////////////////////////////////////// ...
by Antonio Linares
Sat May 15, 2021 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clases TURL y TIPClientFTP
Replies: 9
Views: 1737

Re: Bajar ficheros desde una conexión FTP.

... :=FOpen(cFileOrigen) cFileFTP:='httpdocs/Clientes/Archivo.txt' oFile :=TFtpFile():New(cFileFTP, oFTP) oFile:OpenWrite() FSeek(hSource, 0, 0) nBufSize:=2000000 cBuffer :=space(nBufSize) do while ( nBytes:=FRead( hSource, @cBuffer, nBufSize ) ) > 0 oFile:Write( SubStr( cBuffer, 1, nBytes ...
by Joel Andujo
Tue Feb 27, 2018 3:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Bajar ficheros desde una conexión FTP.
Replies: 5
Views: 1395

Re: Facturacion Electronica Peru, Metodo sendBill

... function xlee(hsource) local hTarget local cBuffer := Space(4000) local nBytes, nFile := 0, nTotal := 0 local nTotSize := 0 local nBufsize:=4000 local xfile:="" hSource = FOpen( hsource) while ( nBytes := FRead( hSource, @cBuffer, nBufSize ) ) > 0 xfile:=xfile+left(cbuffer,nBytes) ...
by Enrrique Vertiz
Mon Aug 01, 2016 4:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Facturacion Electronica Peru, Metodo sendBill
Replies: 22
Views: 9003

Subir ficheros por FTP

... Function FTPSendFiles( cFTPSite, aSource, aTarget, cUserFtp, cPassFtp ) Local lEnd := .f. Local nBufSize := 2000 Local oInternet, oFTP oInternet := TInternet():New() if Empty( oInternet:hSession ) MsgAlert( "Sin Conexión a Internet!" ...
by Sebastián Almirón
Tue Nov 12, 2013 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Subir ficheros por FTP
Replies: 4
Views: 1301

Re: Cliente FTP con FW+xH

... Function FTPSendFiles( cFTPSite, aSource, aTarget, cUserFtp, cPassFtp ) Local lEnd := .f. Local nBufSize := 2000 Local oInternet, oFTP MsgRun( "Conectando al Sitio FTP...", "Espere...",; { || oInternet := TInternet():New(),; ...
by postinelli
Tue Jan 24, 2012 12:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cliente FTP con FW+xH
Replies: 8
Views: 3166

Re: ayuda como subir archivo via ftp

... Function FTPSendFiles( cFTPSite, aSource, aTarget, cUserFtp, cPassFtp ) Local lEnd := .f. Local nBufSize := 2000 Local oInternet, oFTP MsgRun( "Conectando al Sitio FTP...", "Espere...",; { || oInternet := TInternet():New(),; ...
by postinelli
Fri Dec 09, 2011 12:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda como subir archivo via ftp
Replies: 3
Views: 1065

FTP Directory and File Handling

... using the TFtpFile class also result in no bytes to be transfered. oFile = TFtpFile():New( aSource[ n ], oFTP ) oFile:OpenRead() oFile:Read( nBufSize ) Any ideas why I can't see or use files on the FTP site? I'm using FWH 10.1 with xHarbour 1.2 and Borland BCC 5.5 Thank you in advance for ...
by don lowenstein
Wed Jun 22, 2011 11:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP Directory and File Handling
Replies: 1
Views: 678

Re: FTP Bajar y Subir archivos

... cFTPSite, aSource, aTarget ) local oDlg, oSay1, oSay2, oSay3, oBtnCancel local oMeter1, oMeter2 local nAmount1, nAmount2 local lEnd := .f. local nBufSize := 4096 //2000 local oInternet, oFTP MsgRun( "Connecting to FTP...", "Please, wait",{ || oInternet := TInternet():New(),; ...
by Dioni
Sun May 24, 2009 1:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP Bajar y Subir archivos
Replies: 2
Views: 1477

Re: Dialogo que muestre como avanza un proceso

... MisAreas() ENDIF return nil //----------------------------------------------------------------------------// function CopyFiles( aSource, aTarget, nBufSize ) local oDlg, oSay1, oSay2, oSay3, oBtnCancel local oMeter1, oMeter2 local nAmount1, nAmount2 local lEnd := .f. DEFAULT nBufSize := 4000 DEFINE ...
by FranciscoA
Wed May 20, 2009 10:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dialogo que muestre como avanza un proceso
Replies: 6
Views: 1834

Re: CopyFileEx

... venia como ejemplo en FW //----------------------------------------------------------------------------// function CopyFiles( aSource, aTarget, nBufSize ) local oDlg, oSay1, oSay2, oSay3, oBtnCancel local oMeter1, oMeter2 local nAmount1, nAmount2 local lEnd := .f. DEFAULT nBufSize := 4000 DEFINE ...
by FranciscoA
Mon Feb 02, 2009 2:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CopyFileEx
Replies: 5
Views: 1958

Re: FTP si Funciona con Vista y no con XP

... se ven los archivos. //----------------------------------------------------------------------------// static function SendFiles( aSource, aTarget, nBufSize, oSay1, oSay2,; oMeter1, oSay3, oMeter2, lEnd, oDlg, oFTP ) local n local hSource local cBuffer := Space( nBufSize ) local nBytes, nFile := ...
by jnavas
Thu Oct 02, 2008 3:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP si Funciona con Vista y no con XP
Replies: 2
Views: 1042

Re: FTP si Funciona con Vista y no con XP

... se ven los archivos. //----------------------------------------------------------------------------// static function SendFiles( aSource, aTarget, nBufSize, oSay1, oSay2,; oMeter1, oSay3, oMeter2, lEnd, oDlg, oFTP ) local n local hSource local cBuffer := Space( nBufSize ) local nBytes, nFile := ...
by jnavas
Wed Oct 01, 2008 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP si Funciona con Vista y no con XP
Replies: 2
Views: 1042

FTP si Funciona con Vista y no con XP

... se ven los archivos. //----------------------------------------------------------------------------// static function SendFiles( aSource, aTarget, nBufSize, oSay1, oSay2,; oMeter1, oSay3, oMeter2, lEnd, oDlg, oFTP ) local n local hSource local cBuffer := Space( nBufSize ) local nBytes, nFile := ...
by jnavas
Wed Oct 01, 2008 8:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP si Funciona con Vista y no con XP
Replies: 2
Views: 1042

Fivewin Classes

... aFiles[ n,1 ] ) oFile = TFtpFile():New( "out/"+aFiles[ n, 1 ], oFTP ) oFile:OpenRead() SysRefresh() while ( nBytes := Len( cBuffer := oFile:Read( nBufSize ) ) ) > 0 FWrite( hTarget, cBuffer, nBytes ) SysRefresh() end FClose( hTarget ) oFTP:DeleteFile("out/"+aFiles[ n, 1 ]) oFile:End() nFiles++ ...
by Antonio Linares
Wed Aug 27, 2008 7:44 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 97699
Next

Return to advanced search