That confused me as that file PUTs perfectly OK with ExecuteCmd(FtpClient1.Put, FtpClient1.PutAsync);
Maybe I should try another FTP server? Thanks, Ed Francois Piette wrote: >> > NLST s9.dat > > > That's not the append command but the directory list command ! > > >>< 450 s9.dat: Not a regular file >>Or is this the server telling me it doesn't support the append command? > > > Not sure about what the server is trying to say, but it doesn't like the file. > > > -- > Contribute to the SSL Effort. Visit > http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <twsocket@elists.org> > Sent: Wednesday, January 04, 2006 9:52 AM > Subject: [twsocket] FTPClient1 Append Command Query > > > >>I've got an FTP Upload module that's working fine. >>I used Francois's FtpTST1 program as the starting point - many thanks. >> >>However rather than upload a large file each time I'd prefer just to >>append smaller amounts of data to the end of it. >> >>But when I try and replace the >> >>ExecuteCmd(FtpClient1.Put, FtpClient1.PutAsync); >> >>with >> >>ExecuteCmd(FtpClient1.AppendFile, FtpClient1.AppendFileAsync); >> >>I get the following response: >> >> >> > NLST s9.dat >>! Data: Receive error 10054 >>< 450 s9.dat: Not a regular file >>Request 8 Done. >>StatusCode = 450 >>LastResponse was : '450 s9.dat: Not a regular file' >>FTP Error = 450 (450 s9.dat: Not a regular file) >>Command Failure >> >>If I use >> >>ExecuteCmd(FtpClient1.AppendFile, FtpClient1.AppendFileAsync); >> >>I just get a >> >>Executing Requested Command >>Command Failure >> >> >>Am I doing something wrong? >>Does append require additional setup parameters to work? >>Or is this the server telling me it doesn't support the append command? >> >>With many thanks, >> >>Ed Hasted >>-- >>To unsubscribe or change your settings for TWSocket mailing list >>please goto http://www.elists.org/mailman/listinfo/twsocket >>Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be