Search found 34 matches: sendfile

Return to advanced search

Re: TWebServer buffer Socket

Hello,

What I used It worked oSocket:SendFile()
by Ari
Mon Mar 27, 2023 10:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TWebServer buffer Socket
Replies: 2
Views: 396

Re: Enviar por POST a webservice

... incluidos con mod_harbour para enviar un fichero y luego salvarlo: https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/sendfile.prg https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/upload.prg Dear Antonio, please can you help me with the ...
by Antonio Linares
Sat Jul 23, 2022 9:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar por POST a webservice
Replies: 19
Views: 1644

Re: Enviar por POST a webservice

Dear Antonio,

many thanks for your kind attention. I sent the file to you with email.
I am looking forward very much to your answer ... your sendfile-sample is so nice and slim and I already learned so much from it.
Thank you again :-)

and kind regards
Ruth
by Ruth
Fri Jul 22, 2022 4:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar por POST a webservice
Replies: 19
Views: 1644

Re: Enviar por POST a webservice

... incluidos con mod_harbour para enviar un fichero y luego salvarlo: https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/sendfile.prg https://github.com/FiveTechSoft/mod_harbour/blob/master/samples/upload.prg Dear Antonio, please can you help me with the ...
by Ruth
Fri Jul 22, 2022 10:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar por POST a webservice
Replies: 19
Views: 1644

Re: Enviar por POST a webservice

Cesar, Maybe you can take a look at sendfile from Charly's TWeb samples. This code works. Best regards, Otto http://forums.fivetechsupport.com/viewtopic.php?f=45&t=39667&p=236656&hilit=upload.prg&sid=f4158e8f5f5942f281e5d5e57c0e3d6c&sid=8d4137fa35fdb6bdeb6bc0645f02f015#p236656
by Otto
Thu Jan 06, 2022 4:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar por POST a webservice
Replies: 19
Views: 1644

Re: sendfile/uplod from samples

Hello friends,
Now I have taken the examples:
button-upload.prg
srv_upload.prg

from TWeb.
I do not include the entire TWeb, only the functions that are actually used.
by Otto
Sat Nov 28, 2020 8:02 pm
 
Forum: mod_harbour
Topic: sendfile/uplod from samples
Replies: 1
Views: 576

sendfile/uplod from samples

Hello friends,
I tried these samples.
But the uploaded JPG file is not readable.
Is this example working on JPG-files?
Best regards,
Otto
by Otto
Tue Nov 24, 2020 7:58 am
 
Forum: mod_harbour
Topic: sendfile/uplod from samples
Replies: 1
Views: 576

Re: llamar funciones de DLL

... dispatch PROPERTYGET int SSRPin() STDCALL dispatch FUNC VARIANT_BOOL SendCMDMsg( [in] int, [in] int, [in] int ) STDCALL dispatch FUNC VARIANT_BOOL SendFile( [in] int, [in] BSTR ) STDCALL dispatch FUNC VARIANT_BOOL SetLanguageByID( [in] int, [in] int, [in] BSTR ) STDCALL dispatch FUNC VARIANT_BOOL ...
by Antonio Linares
Sat Feb 01, 2020 7:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: llamar funciones de DLL
Replies: 20
Views: 4642

Re: how to exchange data between online and offline

Yes, http can be used too

Please review mod_harbour\samples\sendfile.prg
by Antonio Linares
Fri Jan 24, 2020 10:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to exchange data between online and offline
Replies: 6
Views: 867

Re: ENVIO DE DATOS CON TSOCKET

... continuacion del AddRequest() y aparentemente soluciona el problema, es como si el cliente estuviera enviando la data en paquetes ( como hace con sendfile() ), pero como se reciben cadenas de distintos clientes simultaneamente he tenido que implementar la TCtrlSocket para ir guardando la data ...
by rterraz
Sun Mar 29, 2015 12:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ENVIO DE DATOS CON TSOCKET
Replies: 5
Views: 960

ENVIO DE DATOS CON TSOCKET

... de unos 3000 bytes y cuando lo hago el servidor recibe una cadena cortada , como se puede hacer para que llegue en su totalidad sin tener que usar SendFile() ? Muchas gracias por la ayuda que puedan brindarme
by rterraz
Thu Mar 26, 2015 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ENVIO DE DATOS CON TSOCKET
Replies: 5
Views: 960

Telnet script ( probably ot )

... <command3> <command4> <command5> EXIT or alternatively run telnet passing a script as a parameter as this sample in ftp ftp -s:sendfile.ftp sendfile.ftp open xxx.xxx.xxx.xxx admin admin <command1> <command2> <command3> <command4> <command5> BYE ...
by MarcoBoschi
Thu Nov 25, 2010 10:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Telnet script ( probably ot )
Replies: 3
Views: 968

Ayuda con socket - Solucionado

... BUTTON oBtn2 PROMPT "SendData" ; ACTION oSocket:SendData( "MSG This is a test" ) SIZE 80, 20 @ 4, 2 BUTTON oBtn3 PROMPT "SendFile" ; ACTION SendFile() SIZE 80, 20 @ 5, 2 BUTTON oBtn4 PROMPT "HostName" ; ACTION MsgInfo( GetHostName() ) SIZE 80, 20 @ 7, 2 ...
by russimicro
Sun Oct 31, 2010 4:28 pm
 
Forum: FiveWin para Pocket PC
Topic: Ayuda con socket - Solucionado
Replies: 0
Views: 647

Re: Help using Sockets

Antonio,


The client may need to open the file in shared mode. Have you checked this ?


Yes, I use

MemoWrit( CurDir() + "\test.txt", "This is a file test" )
oSocket:SendData( "SENDFILE test.txt" )

Maurizio
by Maurizio
Mon Sep 13, 2010 10:13 am
 
Forum: FiveWin for Pocket PC
Topic: Help using Sockets
Replies: 17
Views: 5090
Next

Return to advanced search