Hello,
I make an Automation (remote) to transfer small files between 2 computers
Define Class MyFTP As Custom OLEPUBLIC
proc GetFile
lpara whatfile
f =fopen(whatfile)
n =fseek(f,0,2)
=fseek(f,0)
buff = fread(f,n)
=fclose(f)
return buff
endproc
Enddefine
If i get a text or dbf files, it's OK but when i get FPT (memo file) it is error. The FPT file's contain changed.
i guess that's because BUFF contain binary character (DBF also, why there is no errors)
Does anyone have experience in this? plz help me!!!
Jimmy
mailto:nhan_tiags@yahoo.com
I make an Automation (remote) to transfer small files between 2 computers
Define Class MyFTP As Custom OLEPUBLIC
proc GetFile
lpara whatfile
f =fopen(whatfile)
n =fseek(f,0,2)
=fseek(f,0)
buff = fread(f,n)
=fclose(f)
return buff
endproc
Enddefine
If i get a text or dbf files, it's OK but when i get FPT (memo file) it is error. The FPT file's contain changed.
i guess that's because BUFF contain binary character (DBF also, why there is no errors)
Does anyone have experience in this? plz help me!!!
Jimmy
mailto:nhan_tiags@yahoo.com