Seeing sync files in the csweb
Posted: February 9th, 2020, 9:27 am
I´ve done some tests on uploading files to the server, like:
sourceDir = "*.jpg";
outputDir = "/Bruma/";
if syncconnect(CSWeb, servidor) then
if syncfile(PUT, sourceDir, outputDir) then
errmsg("funcionou subir");
else
errmsg("falhou subir");
endif;
syncdisconnect();
endif;
And I know that it worked because I could dowonload them:
from_Path = "/Bruma/*.jpg";
to_Path = "./saida/";
if syncconnect(CSWeb, servidor) then
if syncfile(GET, from_Path, to_Path) then
errmsg("funcionou baixar");
else
errmsg("falhou baixar");
endif;
syncdisconnect();
endif;
The problem is: How could I know which files were uploaded into the server? When I go to my server using the /ui/dashboard they are not shown there, it shows just the dictionary data, not the individual files.
sourceDir = "*.jpg";
outputDir = "/Bruma/";
if syncconnect(CSWeb, servidor) then
if syncfile(PUT, sourceDir, outputDir) then
errmsg("funcionou subir");
else
errmsg("falhou subir");
endif;
syncdisconnect();
endif;
And I know that it worked because I could dowonload them:
from_Path = "/Bruma/*.jpg";
to_Path = "./saida/";
if syncconnect(CSWeb, servidor) then
if syncfile(GET, from_Path, to_Path) then
errmsg("funcionou baixar");
else
errmsg("falhou baixar");
endif;
syncdisconnect();
endif;
The problem is: How could I know which files were uploaded into the server? When I go to my server using the /ui/dashboard they are not shown there, it shows just the dictionary data, not the individual files.