Search found 39 matches: hftp

Return to advanced search

Conexion FTP TSL

... ) MsgAlert( "Internet session not available!" ) ELSE oFTP := TFTP():New( cFTPSite, oInternet, cUser, cPass ) IF Empty( oFTP:hFTP ) MsgStop( "Cannot connect to "+cFtpSite ) oInternet:End() return .f. ENDIF ENDIF SendFiles( cSource, cTarget, nBufSize, oFTP ) oInternet:End() ...
by servicomver
Wed Jan 25, 2023 10:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conexion FTP TSL
Replies: 7
Views: 833

TFTP no reporta archivos para actualizacion de aplicacion

... "Conectando al Servidor...", "Please, wait",{ ||oFTP := TFTP():New( cServer, oInternet,cUser,cpassword )}) If !Empty( oFTP:hFTP ) aFiles := oFtp:Directory( rRuta+"/*.*" ) AEval( aFiles, { | aFile | comprueba( aFile,@mFile ) } ) If Len( mFile )>1 lReturn := .T. ...
by CARLOS ATUNCAR
Thu Jan 13, 2022 6:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TFTP no reporta archivos para actualizacion de aplicacion
Replies: 4
Views: 461

Re: Strange characters in TFtp:directory()

... memory. I ammended oFtp:directory() function to retrieve the filename up to the null character only. method Directory( cMask ) CLASS TFtp    local hFTPDir, aFiles := {}    local oWin32FindData, cBuffer    DEFAULT cMask := "*.*"    STRUCT oWin32FindData       MEMBER nFileAttributes  AS ...
by hua
Tue Aug 20, 2019 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange characters in TFtp:directory()
Replies: 4
Views: 680

Re: FTP Directory Method

... := TInternet():New() local oFtp := TFtp():New( "speedtest.tele2.net", oInternet,"anonymous" ) local aFiles if !Empty( oFtp:hFTP ) aFiles := oFtp:Directory( "*.*" ) MsgInfo( Len(aFiles),"aFiles" ) AEval( aFiles, { | aFile | MsgInfo( aFile[ 4 ], aFile[ ...
by byron.hopp
Sat Aug 10, 2019 8:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP Directory Method
Replies: 6
Views: 922

Re: Bajar ficheros desde una conexión FTP.

... oFTP :=TFTP():New('www.miftp.com.mx', oInternet, cUser:='Joel', cPassword:='123456', lFTPPAsivo:=.f., nPuerto:=21) if empty(oFTP:hFTP) oInternet:End() retu .f. endi cFileOrigen:='c:\respaldo\Archivo.txt' hSource :=FOpen(cFileOrigen) cFileFTP:='httpdocs/Clientes/Archivo.txt' oFile ...
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: 1310

Re: Upload to FTP

... FtpSetCurrentDirectory(). My question is how do you know how to write the "DLL32" declarations. DLL32 Function FtpSetCurrentlyDirectory( hFtp AS LONG, cDirName AS LPSTR ) AS BOOL PASCAL FROM " FtpSetCurrentDirecotry " LIB iDLL How do you determine what goes in the FROM parameter, ...
by Enrico Maria Giordano
Tue Feb 02, 2016 9:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Upload to FTP
Replies: 7
Views: 2076

Re: Upload to FTP

... FtpSetCurrentDirectory(). My question is how do you know how to write the "DLL32" declarations. DLL32 Function FtpSetCurrentlyDirectory( hFtp AS LONG, cDirName AS LPSTR ) AS BOOL PASCAL FROM " FtpSetCurrentDirecotry " LIB iDLL How do you determine what goes in the FROM parameter, ...
by byron.hopp
Fri Jan 29, 2016 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Upload to FTP
Replies: 7
Views: 2076

Subir ficheros por FTP

... MsgAlert( "Sin Conexión a Internet!" ) else oFTP := TFTP():New( cFTPSite, oInternet, Alltrim(cUserFtp),Alltrim(cPassFtp)) if Empty( oFTP:hFTP ) MsgStop( "Imposible Conectarse al Sito FTP" ) else SendFiles( aSource, aTarget, nBufSize, lEnd, oFTP ) endif endif oInternet:End() ...
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: 1144

Re: Ftp doubt

... oInternet := TInternet():New() oFTP := TFTP():New( "ftp.orgfree.com", oInternet, "user", "passw" ) IF Empty( oFtp:hFtp) MsgAlert("Não foi possível conectar ao FTP","Atenção") Return .f. Endif aFiles = oFTP:Directory( "*.*" ) In some ...
by Wanderson
Wed May 02, 2012 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ftp doubt
Replies: 5
Views: 1162

help ftp

... TInternet():New() local oFTP := TFTP():New( "192.168.2.95", oInternet, "usr", "psw" ) local aFiles if ! Empty( oFTP:hFTP ) USE Customer Browse() USE etc... but I get this error: Error description: (DOS Error 2) DBFNTX/1001 Open error: Customer.dbf can you help me? ...
by damianodec
Mon Feb 27, 2012 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: help ftp
Replies: 4
Views: 797

Re: Cliente FTP con FW+xH

... "Sin Conexión a Internet!" ),),; oFTP := TFTP():New( cFTPSite, oInternet, Alltrim(cUserFtp),Alltrim(cPassFtp) ) } ) if Empty( oFTP:hFTP ) MsgStop( "Imposible Conectarse al Sito FTP!" ) return nil endif SendFiles( aSource, aTarget, nBufSize, lEnd, oFTP ) oInternet:End() ...
by postinelli
Tue Jan 24, 2012 12:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cliente FTP con FW+xH
Replies: 8
Views: 2977

FTP access suddenly doesn't work!?

...      := TFTP():New(  "207.46.133.140", oInternet ) // Microsoft FTP  Suddenly today, this code returns "oFtp:Hftp is null" I didn't change any part of code for a very long time, it works perfect. No need to change enything. Today I run the program and ...
by codemaker
Mon Dec 12, 2011 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP access suddenly doesn't work!?
Replies: 29
Views: 9567

Re: ayuda como subir archivo via ftp

... "Sin Conexión a Internet!" ),),; oFTP := TFTP():New( cFTPSite, oInternet, Alltrim(cUserFtp),Alltrim(cPassFtp) ) } ) if Empty( oFTP:hFTP ) MsgStop( "Imposible Conectarse al Sito FTP!" ) return nil endif SendFiles( aSource, aTarget, nBufSize, lEnd, oFTP ) oInternet:End() ...
by postinelli
Fri Dec 09, 2011 12:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda como subir archivo via ftp
Replies: 3
Views: 1022

Re: FTP ???

Comprueba si te funciona esto:

DLL32 FUNCTION FtpDeleteFile( hFTP AS LONG, cFileName AS LPSTR ) AS BOOL PASCAL ;
FROM "FtpDeleteFileA" LIB hWinINet
by Manuel Valdenebro
Tue Jun 07, 2011 7:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FTP ???
Replies: 8
Views: 2363

tFtp Question

... site? The way i'm connecting to the ftp site is: oInternet := TInternet():New() oFTP := TFTP():New( cFtp, oInternet, cUserName, cPassWord ) oFTP:hFTP is empty Any ideas? Thanks in advance Pete
by PeterHarmes
Fri Apr 09, 2010 2:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tFtp Question
Replies: 1
Views: 439
Next

Return to advanced search