Search found 193 matches

by marzio
Tue Apr 14, 2026 8:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oFtp:Directory() 32 bit doesn't work
Replies: 9
Views: 1169

Re: oFtp:Directory() 32 bit doesn't work

where can i find the april 2026 version?

by marzio
Tue Apr 14, 2026 7:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oFtp:Directory() 32 bit doesn't work
Replies: 9
Views: 1169

Re: oFtp:Directory() 32 bit doesn't work

I replaced the 32-bit harbor folder with the latest version downloaded from the site (May 2025),
and now everything works fine.

Thank you very much Enrico

by marzio
Tue Apr 14, 2026 6:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oFtp:Directory() 32 bit doesn't work
Replies: 9
Views: 1169

Re: oFtp:Directory() 32 bit doesn't work

i have tried your code but at 32 bit does NOT works FINE for me.
WITH 64 BIT VERSION ALL WORKS FINE.
Could the problem be caused by harbour?
Is there another class with Directory() function?

THANKS

by marzio
Tue Apr 14, 2026 4:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oFtp:Directory() 32 bit doesn't work
Replies: 9
Views: 1169

Re: oFtp:Directory() 32 bit doesn't work

i have disabled the Dummy from tFtp.prg but does NOT resolve the problem.
i had try to add MEMBER cBuffer AS STRING LEN 260 but i have the same result.

by marzio
Tue Apr 14, 2026 2:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: oFtp:Directory() 32 bit doesn't work
Replies: 9
Views: 1169

oFtp:Directory() 32 bit doesn't work

hi at all.

The oFtp:Directory() function to obtain an array of remote files (with size, date, time, attributes)
only works in the 64-bit version (FiveWin 25.01 - harbour vC22). When compiled for 32-bit, it crashes the program.
any idea?

FUNCTION aRemoteFile()

LOCAL oInternet, oFtp, aFileRem ...
by marzio
Fri Dec 05, 2025 10:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UTF8 text with FwPdf
Replies: 5
Views: 1029

Re: UTF8 text with FwPdf

I replaced fwPdf with urupdf and UTF8 works fine.


REQUEST FWHARU // required for using HaruPdf

function PdfGen()
local oPrn, oFont

FW_SetUnicode( .t. )
HB_SETCODEPAGE( "UTF8" )

PRINT oPrn PREVIEW FILE cFileSetExt( ExeName(), "pdf" )
DEFINE FONT oFont NAME "Arial" SIZE 0, -10 OF oPrn ...
by marzio
Thu Dec 04, 2025 8:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UTF8 text with FwPdf
Replies: 5
Views: 1029

Re: UTF8 text with FwPdf

Hi Antonio,

Have you tried the change you suggested?
Despite the change to loading the font "C:\Windows\Fonts\arial.ttf",
I still don't see Cyrillic text in UTF8, but random characters.

What do you think?

by marzio
Mon Dec 01, 2025 10:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: UTF8 text with FwPdf
Replies: 5
Views: 1029

Re: UTF8 text with FwPdf

Thanks Antonio for your reply.
I tried the change you posted, but it still doesn't work.
with:
? cText := MemoRead("utf8.txt")
I see the window with the Cyrillic text, but I don't see it in the PDF.
I used the arial.ttf file in the "C:\Windows\Fonts\arial.ttf" folder.

what could be the problem?
by marzio
Sun Nov 30, 2025 9:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UTF8 text with FwPdf
Replies: 5
Views: 1029

UTF8 text with FwPdf

I have created this little function to test the FwPdf class with UTF8 text (example: ciryllic alphabet).
This function doesn't display UTF8 text.
What am I doing wrong?
Thanks, Marzio


function PdfGen()

local oPrn, oFont

FW_SetUnicode( .t. )
HB_SETCODEPAGE( "UTF8" )
oPrn := FWPdf():New ...
by marzio
Thu Oct 30, 2025 5:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FTPPutFile() requires too minutes to upload
Replies: 21
Views: 9972

Re: FTPPutFile() requires too minutes to upload

I informed my provider Aruba of my problem, stating that the domain http://www.emagsoftware.it was not experiencing the blockages I was complaining about.
They moved my account to the same server as emagsoftware, but they didn't solve the problem.
To prevent my program from blocking, I'll move the ...
by marzio
Tue Oct 28, 2025 6:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FTPPutFile() requires too minutes to upload
Replies: 21
Views: 9972

Re: FTPPutFile() requires too minutes to upload

I tried with another FTP provider (Altervista) and the problem does NOT appear.
Whether I answer "yes" or "no" to the firewall, the function FTPPutFile) responds instantly.
So it seems to depend on Aruba, perhaps some security settings different from yours Enrico.
I will try to speak with Aruba ...
by marzio
Tue Oct 28, 2025 5:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FTPPutFile() requires too minutes to upload
Replies: 21
Views: 9972

Re: FTPPutFile() requires too minutes to upload

I found another FTP function on the forum, but it gives me the same problem.
At this point, I'll have to test it with an unencrypted file,
and then on a different server (there may be more stringent restrictions on the one I'm using).
I'll report the results
thanks at all.
by marzio
Tue Oct 28, 2025 3:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FTPPutFile() requires too minutes to upload
Replies: 21
Views: 9972

Re: FTPPutFile() requires too minutes to upload

How long does it take for the function to return false? Because that's the critical point; it makes me wait for many minutes.
by marzio
Tue Oct 28, 2025 11:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: FTPPutFile() requires too minutes to upload
Replies: 21
Views: 9972

Re: FTPPutFile() requires too minutes to upload

Thanks Enrico.
I'll do it.
I just verified that it's the function FTPPutFile() itself that triggers the firewall request, so it's not possible to exclude the function call with an IF statement.
by marzio
Tue Oct 28, 2025 10:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: FTPPutFile() requires too minutes to upload
Replies: 21
Views: 9972

Re: FTPPutFile() requires too minutes to upload

Maybe none of those IFs control the firewall.
I need to make sure that if someone doesn't give permission, the function FTPPutFile() isn't launched.