I had these 2 issues:
IF oFTP:DOWNLOADFILE("controli.txt", cFTPFILE)
If I download a file it will be in aplication side (It won´t be in letodb.ini DATAPATH) .
I need to download and memoread it:
cLICENCAS := MEMOREAD(cAMBI+"controli.txt") // return ""
cLICENCAS := MEMOREAD("controli.txt") // return ""
and
SET PRINTER TO (ARQUIVO)
If I save a report to a file it will be in aplication side too.
cAMBI := CURDRIVE()+":\"+CURDIR()+"\"
SET DEFAULT TO .
SET PATH TO (cAMBI)
I tryed that above but didn´t work.
I am using:
#include "rddleto.ch" // defines do RDD
#include "dbinfo.ch" // Header file for the RDD API Index OrderInfo and DBInfo support
#include "leto_std.ch" // traduz os comandos para o LETO
#define __LETO_TRANSLATE_FILE_ALL
#include "letofile.ch" // traduz todas as funções para o LETO
REQUEST RDDLETO
REQUEST RDDInfo
I expected to find the local files using application path in SET PATH but not.
I had these 2 issues:
IF oFTP:DOWNLOADFILE("controli.txt", cFTPFILE)If I download a file it will be in aplication side (It won´t be in letodb.ini DATAPATH) .
I need to download and memoread it:
and
SET PRINTER TO (ARQUIVO)If I save a report to a file it will be in aplication side too.
I tryed that above but didn´t work.
I am using:
I expected to find the local files using application path in SET PATH but not.