Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: ftp.put errors with Indy 10.1.5. Am I checking for them correctly.

www.cryer.info
Managed Newsgroup Archive

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:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Thu, 3 Aug 2006 10:04:06

"Kerry Frater" <kerry@jcs.co.uk> wrote in message
news:44d1bc68$1@newsgroups.borland.com...

> All seems fine except that my user is reporting that some files are
> not being uploaded. There are no error's shown in my upload applet
> nor on the server side

Then how do you know that the files are not being uploaded properly?

> MyFTP.Put(FromFolder+Memo1.Lines[i],MyUpDir+Memo1.Lines[i],false);

I would suggest navigating to the target folder first before then uploading
the files to it, ie:

    MyFTP.ChangeDir(MyUpDir);
    for i := 0 to FileList.Lines.Count -1 do begin
        MyFTP.Put(FromFolder + Memo1.Lines[i], Memo1.Lines[i], false);


Gambit

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive