Re: [twsocket] Using Quote.

2008-03-11 Thread Dave Coventry
Francois, Angus, Your assistance is much appreciated. In fact the 'Dir' directive actually gives me sufficient descriptors of the files for my needs. Yes the app is a very simple app to allow friends to upload onto a website without divulging my username and password. As such it is for use with

Re: [twsocket] Using Quote.

2008-03-11 Thread Angus Robertson - Magenta Systems Ltd
> However, I want a more complete listing, more in line with the 'ls > -l' bash command. Officially, the FTP specifications do not support any arguments for the various directory listing commands. Over the years, different FTP servers have supported different extensions, 'ls -l' is a UNIX direct

Re: [twsocket] Using Quote.

2008-03-11 Thread Francois Piette
> However, I want a more complete listing, more in line > with the 'ls -l' bash command. This is non standard and works only on some Unix hosts. Maybe it is OK for you. There are also extended FTP commands supported by the component. Look in the comments at the start of OverbyteIcsFtpCli.pas. Sear

Re: [twsocket] Using Quote.

2008-03-11 Thread Dave Coventry
Francois, Thank you for the reply. On Tue, Mar 11, 2008 at 11:01 AM, Francois Piette <[EMAIL PROTECTED]> wrote: > 1) You can't use Quote command to send a command which require a data > transfer. Ok, that makes sense. > 2) The result of the various dir list functions are in the local file or

Re: [twsocket] Using Quote.

2008-03-11 Thread Francois Piette
2008 9:48 AM Subject: Re: [twsocket] Using Quote. > Okay, > > I've managed to find a reference to FTP commands: > http://www.nsftools.com/tips/RawFTP.htm > > According to this, I should be using NLST or LIST as my Quote String. > > However, the Server needs to receive

Re: [twsocket] Using Quote.

2008-03-11 Thread Dave Coventry
Okay, I've managed to find a reference to FTP commands: http://www.nsftools.com/tips/RawFTP.htm According to this, I should be using NLST or LIST as my Quote String. However, the Server needs to receive the PORT command or PASV. If I send it PASV, I get a IP and a port returned and the Server t

[twsocket] Using Quote.

2008-03-09 Thread Dave Coventry
Hi, I have managed to get a listing of the files on the server through 'Ls', but I need the full list with directories, etc. I have tried to use the 'Quote' method to send the server 'ls -l', but I get the following result: Request: ls -l Response: 500 Unknown command if I open ftp in an MS-Dos