Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: ftp.put errors with Indy 10.1.5. Am I checking for them correctly.
| Subject: | Re: ftp.put errors with Indy 10.1.5. Am I checking for them correctly. |
| Posted by: | "Kerry Frater" (ker..@jcs.co.uk) |
| Date: | Sat, 5 Aug 2006 10:19:54 |
Thanks for your help. In showing that I was definately uploading (without
errors) forced them to relook at their file collation routine.
Guess what? They had a tiny problem. In the data I uploaded was a stored
number in text format. The program that produced this data just so happens
to occasionally produce '1'. The collection routine normally deals with two
digit numbers and so checked for '01'. Instead of accepting '1' or producing
a data validation error it deleted the file. No errors, no proof, just gone.
Of course now the receiver says it is the app producing the data at fault
because they should know that it must be '01'. After all, when you tell a
3rd party the format of the data you want they always send you valid data
!!!
At least I can be smug for a few hrs that after all of this, because it
wasn't my applet. and both the other programs are happy because they now
produce and receive the data they want in the manner they want it.
Next time it could well be my fault.
Kerry
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:44d37ddb$1@newsgroups.borland.com...
>
> "Kerry Frater" <kerry@jcs.co.uk> wrote in message
> news:44d37a6d$1@newsgroups.borland.com...
>
> > If PUT fails in any way does it ALWAYS raise an exception.
>
> Yes.
>
> > I am not getting any errors in the applet, but it is claimed by the
> > ftp server people that some files don't always get uploaded.
>
> How are they determining that? Are they sitting there watching the
> transfers at the moment that you are actually performing them? Are you
> absolutely sure that you are uploading the files to the correct folder(s)
in
> the first place? If Put() is creating/accessing the data connection
> correctly, then something has to be getting uploaded.
>
> > I am looking for someone with more experience with the Indy10 syste
>
> I have extensive experience with Indy. I am on the Indy development team.
>
> > try
> > MyFTP.PUT(...);
> > except
> > {*** If MyFTP.PUT fails in any way will this block ALWAYS be
executed
> > ***}
> > end;
>
> Yes, it will.
>
>
> Gambit
none