Re: [twsocket] FTP missing bytes

2006-07-06 Thread
- Original Message - From: Gies,Brad Sent: 7/6/2006 1:41:41 PM To: twsocket@elists.org Subject: Re: [twsocket] FTP missing bytes > > Thanks for the explanations. I had no idea it was a server setting, and > always assumed it would be up to the client. I guess I have just been > lucky ge

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Gies,Brad
Thanks for the explanations. I had no idea it was a server setting, and always assumed it would be up to the client. I guess I have just been lucky getting away with it for so long. Much Appreciated. Sincerely, Brad Gies - NLM Software Southfield, MI, USA ---

Re: [twsocket] FTP missing bytes

2006-07-06 Thread
- Original Message - > From: Gies,Brad > Sent: 7/6/2006 11:35:48 AM > To: twsocket@elists.org > Subject: Re: [twsocket] FTP missing bytes > > It seems the answer is that I now have to send the Type command before I > do the PUT. Did it used to default to binary before, and now it defaults

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Woody
From: "Gies,Brad" <[EMAIL PROTECTED]> > > It seems the answer is that I now have to send the Type command before I > do the PUT. Did it used to default to binary before, and now it defaults > to ASCII? When I originally built my little web site program for editing pages and uploading them, I was u

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Arno Garrels
Gies,Brad wrote: > It seems the answer is that I now have to send the Type command > before I do the PUT. Correct, except that it must be called in previous versions too, changing property BinaryMode alone does nothing. > Did it used to default to binary before, and now > it defaults to ASCII?

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Gies,Brad
It seems the answer is that I now have to send the Type command before I do the PUT. Did it used to default to binary before, and now it defaults to ASCII? Sincerely, Brad Gies - NLM Software Southfield, MI, USA - Do eve

Re: [twsocket] FTP missing bytes

2006-07-06 Thread Arno Garrels
Gies,Brad wrote: > The problem is the same whether I transfer in binary mode or ASCII > mode. I have noticed that I do get the "150 Opening ASCII mode data > connection for 501330.zip." even when I have the binary mode check > box checked in the FTPTest form. > > Am I always sending in "ASCII" mod

[twsocket] FTP missing bytes

2006-07-06 Thread Gies,Brad
I have an automated process that has been sending FTP files to a customer for over two years with no problem. Suddenly, they seem to be missing two bytes from a file after I transfer it, which is causing problems. I did recently upgrade my ICS to the latest version. Has anything changed that migh

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-06 Thread Wilfried Mestdagh
Hello Arnold, Correct, if I'm not mistaken you in fact only need OnRequestDone to check the flow / errors / do next action. There you check ErrCode, if > 0 there is server or winsock error. winsock error >= 1. Also check RequestType to check the state of the component. You probably want

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-06 Thread Arnold FLUTEAUX
Hello Wilfried, It’s true that it’s OK in sync mode with increasing or decreasing the timeout but I want to try the async mode. So, I put my code in RequestDone event and I launch async method step by step in testing the errcode (parameter of RequestDone). Are you sure that all errors will pass i

Re: [twsocket] How can we automatically set timeout in FTP

2006-07-06 Thread Wilfried Mestdagh
Hello Arnold, > It’s stupid because I had finished my tool !!! I hope that it’s almost the > same thing to do ! If it is finished and working well then no need to change. It is not the same, but consider for a new project. It is not the same, it is different, but you have more control and you are

Re: [twsocket] THttpServer How to receive posted files

2006-07-06 Thread Wilfried Mestdagh
Hello Rafael, There is an example for POST in one of the ICS examples. To upload a file it is exacly the same as any other post data. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Tuesday, July 4, 2006, 21:23, Rafael A. Morales Castro wrote