Now complains on download if download path doesn't exist.
This commit is contained in:
parent
41512144be
commit
dcc5deb77c
|
@ -647,6 +647,12 @@ Var
|
||||||
Image : TConsoleImageRec;
|
Image : TConsoleImageRec;
|
||||||
Queue : TProtocolQueue;
|
Queue : TProtocolQueue;
|
||||||
Begin
|
Begin
|
||||||
|
If Not DirExists(XferPath) Then Begin
|
||||||
|
ShowMsgBox (0, 'Download directory does not exist');
|
||||||
|
|
||||||
|
Exit;
|
||||||
|
End;
|
||||||
|
|
||||||
Queue := TProtocolQueue.Create;
|
Queue := TProtocolQueue.Create;
|
||||||
Zmodem := TProtocolZmodem.Create(Client, Queue);
|
Zmodem := TProtocolZmodem.Create(Client, Queue);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue