|Subject:||Re: Help! Using indy ftp in windows service|
|Posted by:||Remy Lebeau (Indy Team) (firstname.lastname@example.org)|
|Date:||Mon, 30 Apr 2007|
"xiaoyvr" <xiaoy…@gmail.com> wrote in message
> ftp.Get(filename, LocalPath + filename, true,
You shouldn't be specifying the LocalPath in the filename after you
have already changed to that folder:
ftp.Get(filename, filename, true, false);
> But in a windows service app, It blocked at
> ftp.Get(filename, LocalPath + filename, true, false);
Make sure that your service has access to the network to begin with.
Most services don't.
Help! Using indy ftp in windows service posted by xiaoyvr on Mon, 30 Apr 2007