I would like to lock folders, so that I could not fetch files or save files in other folders, just those defined, folders EX: c:\banco_de_dados
and another call c:\FTP_Servidor
In case it would be to leave the set path to send the database to the server automatically.
part of the source:
begin
if OpenDialog1.Execute then
if SaveDialog1.Execute then
idftp1.Put(OpenDialog1.FileName, '/projeto_ftp/banco/' + ExtractFileName(SaveDialog1.FileName));
// ShowMessage('Transferido');
idftp1.Get(SaveDialog1.FileName, '/projeto_ftp/' );