Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
client and windows service problem 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? I'm using it in non-multithread mode. What's more curious about

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 Nikolay Simeonov
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. How can I pinpoint the problem

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 I was

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 any success

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
, 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 of fact - for every

RE: [twsocket] FTP client and windows service problem

2005-04-26 Thread Nikolay Simeonov
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 and I'm 100% sure it had the proper

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Francois Piette
@elists.org 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 but with a size of 0. -Original Message- From

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' twsocket@elists.org Sent: Tuesday, April 26, 2005 11:58 AM Subject: RE: [twsocket] FTP client and windows service problem

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

Re: [twsocket] FTP client and windows service problem

2005-04-26 Thread Dan
- Original Message - From: Nikolay Simeonov [EMAIL PROTECTED] To: 'ICS support mailing' twsocket@elists.org 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 and in my case it's