Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Dan wrote: > - Original Message - > From: "Nikolay Simeonov" <[EMAIL PROTECTED]> >> I would easier debug it but in the service I cannot go >> step by step through the component's sources. > > You can use Attach to Process in the Delphi IDE. I never got that working in D4-D5 :(, but Wilfrie

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
- Original Message - From: "Nikolay Simeonov" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Tuesday, April 26, 2005 12:24 PM Subject: RE: [twsocket] FTP client and windows service problem But in this case FTPclient1.Dir would return true

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: > But in this case FTPclient1.Dir would return true and in my case it's > returning false. Check the StatusCode, on listing an empty directory it may be either 450 or 550. 450 Requested file action not taken. File unavailable (e.g., file busy). 550 Requested action not ta

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
Can you list to a MemoryStream just to rule out permissions problems. Dan - Original Message - From: "Nikolay Simeonov" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Tuesday, April 26, 2005 11:58 AM Subject: RE: [twsocket] FTP client and win

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
: "'ICS support mailing'" Sent: Tuesday, April 26, 2005 12:58 PM Subject: RE: [twsocket] FTP client and windows service problem > It was saving the data in the service's folder and I'm 100% sure it had the > proper permissions to do that. The file was created

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
inal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arno Garrels Sent: Tuesday, April 26, 2005 2:17 PM To: ICS support mailing Subject: Re: [twsocket] FTP client and windows service problem Nikolay Simeonov wrote: > It was saving the data in the service's folder

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: > It was saving the data in the service's folder and I'm 100% sure it had > the proper permissions to do that. The file was created but with a size > of 0. That's normal when you list an empty directory. Arno Garrels -- To unsubscribe or change your settings for TWSock

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
t: Tuesday, April 26, 2005 1:49 PM To: twsocket@elists.org Subject: RE: [twsocket] FTP client and windows service problem > It definitely has the permissions because I ran it as an > administrator. I tried as local system as well - both have full access > granted for this folder (as a matter

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Angus Robertson - Magenta Systems Ltd
> It definitely has the permissions because I ran it as an > administrator. I > tried as local system as well - both have full access granted for this > folder (as a matter of fact - for every folder on my development > machine). Applications running in the service window do not get the same rig

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
] On Behalf Of Arno Garrels Sent: Tuesday, April 26, 2005 1:11 PM To: ICS support mailing Subject: Re: [twsocket] FTP client and windows service problem Nikolay Simeonov wrote: > Hi Arno, > > I did use any possible way that occurred to my mind to figure out what > the problem is without

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: > Hi Arno, > > I did use any possible way that occurred to my mind to figure out what the > problem is without any success. And as I said - it's working just fine > when I am testing it from a standart windows application, but when I > start the service it's crashing. What

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
alf Of Arno Garrels Sent: Tuesday, April 26, 2005 10:14 AM To: ICS support mailing Subject: Re: [twsocket] FTP client and windows service problem Nikolay Simeonov wrote: > Hello Francois, > > I'm writing a service and when I try to get the directory FTP1.Dir > returns false. Ho

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Arno Garrels
Nikolay Simeonov wrote: > Hello Francois, > > I'm writing a service and when I try to get the directory FTP1.Dir returns > false. How can I pinpoint the problem and is there a way to figure out why > it's returning false? There is i.e. property StatusCode and there are events also. You may assign

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
Maybe you have a file permission problem. Your service is logged under system account or another account. Check that it has the required permissions. > Also a side problem I'm having is: do you know of a simple way to parse the > results from the DIR command into a simple list of filenames, sizes