Hi,
Two harbour+fwh prg/exe , how to send a file from one app to another app and save as ...
Best regards!
Shuming Wang
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Hi,
Two harbour+fwh prg/exe , how to send a file from one app to another app and save as ...
Best regards!
Shuming Wang
Shuming,
Use sockets.
Please review fwh\samples\sockserv.prg and sockcli.prg
Antonio,
The received file added some connection msgs at the file bof and eof, so the file gets unuseable.
Bof as: 04/16/08 15:33:44: 17 SENDFILE MY.EXE
04/16/08 15:33:44: 8192 MZP
Eof as :04/16/08 15:33:46: writting...
Best Regrads!
Shuming Wang
Shuming,
What is the size of the file to send ?
Antonio,
my.exe 4,355,072 --> received file 4,387,247
bas2.bmp 570 --> received file 704
Regards!
Shuming
Shuming,
Please copy here the source code that you have in fwh\source\classes\tsocket.prg method SendData(), thanks
Antonio,
That are orignal FWH source code.
Or you put sockserv.exe, sockcli.exe here to me download and test.
Regards!
Shuming Wang
Shuming,
> That are original FWH source code.
What FWH version ?
Shuming,
Please email me your fwh\source\classes\tsocket.prg, thanks