Re: FTP directory listing showing seconds

2010-04-13 Thread Richard Gaskin
Sarah Reichelt wrote: Thanks for this Pierre, but it still has the problem that Richard was talking about with older files showing a date but no time. Here is an example from some test files on my site: -rw-r--r--1 troz troz0 Oct 5 2009 test.html -rw-r--r--1

Re: FTP directory listing showing seconds

2010-04-11 Thread Pierre Sahores
Hello Sarah, The first libURLSetFTPListCommand with the NLST param is used to force a preventive LibUrl vars state reset while the second one with the LIST param is used to do the job ! Not sure if this a real academic way to go but feet the needs i had (and still work as expected) to

Re: FTP directory listing showing seconds

2010-04-11 Thread Sarah Reichelt
On Sun, Apr 11, 2010 at 6:30 PM, Pierre Sahores psaho...@free.fr wrote: Hello Sarah, The first libURLSetFTPListCommand with the NLST param is used to force a preventive LibUrl vars state reset while the second one with the LIST param is used to do the job ! Not sure if this a real academic

Re: FTP directory listing showing seconds

2010-04-11 Thread Pierre Sahores
Thanks for the precision, Sarah. On Sun, Apr 11, 2010 at 6:30 PM, Pierre Sahores psaho...@free.fr wrote: Hello Sarah, The first libURLSetFTPListCommand with the NLST param is used to force a preventive LibUrl vars state reset while the second one with the LIST param is used to do the job

FTP directory listing showing seconds

2010-04-10 Thread Richard Gaskin
The FTP 'LIST' command sucks. It only shows mod dates down to the minute, and only for those files modified within the last six months; earlier than that and you only get the day. On the desktop of course we enjoy being able to get time stamps down to the second. Nice. Is there some

Re: FTP directory listing showing seconds

2010-04-10 Thread Jerry Daniels
Richard, Why worry about keeping it client-side? You're calling the server regardless. CGI to get file names MUCH faster...it's HTTP! Best, Jerry Daniels Use tRev's buy link during your free trial to get 20% off: http://reveditor.com/tag/shouldiswitch On Apr 10, 2010, at 2:29 PM, Richard

Re: FTP directory listing showing seconds

2010-04-10 Thread Jim Ault
I not sure what you mean by 'keep it client-side'. You re sending the FTP LIST command to a server, so why not send a request to a CGI script that returns directory info by querying the operating system (such as Linux) It is probably faster and includes the info you are accustomed to on

Re: FTP directory listing showing seconds

2010-04-10 Thread Pierre Sahores
Bonjour Richard, This work fine for me : function FTP_Dir_Refresh active_path set cursor to watch libURLSetFTPListCommand NLST put FTP_Server_Address active_path / into tServer put URL tServer into tData replace crlf with cr in tData replace lf with cr in tData

Re: FTP directory listing showing seconds

2010-04-10 Thread Richard Gaskin
Pierre Sahores wrote: Bonjour Richard, This work fine for me : function FTP_Dir_Refresh active_path set cursor to watch libURLSetFTPListCommand NLST put FTP_Server_Address active_path / into tServer put URL tServer into tData replace crlf with cr in tData replace lf

Re: FTP directory listing showing seconds

2010-04-10 Thread Sarah Reichelt
This work fine for me : function FTP_Dir_Refresh active_path   set cursor to watch   libURLSetFTPListCommand NLST   put FTP_Server_Address active_path / into tServer   put URL tServer into tData   replace crlf with cr in tData   replace lf with cr in tData   libURLSetFTPListCommand