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
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo