Problem with listing in FTP

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Problem with listing in FTP

Post by *SanskritFritz »

I have an interesting problem with FTP .
First I want to mention, that no other FTP client I tried is able to handle this problem correctly (Internet Explorer, NetTransport, WS_FTP LE, Leech FTP), so this is not a bug I think.
But the solution is IMHO easy.
First here is the problem:
Dates are not shown in the FTP dir list if the FTP date format does not correspond to the english standard. An example:
TC receives this listing:

Code: Select all

-rw-r--r--   1 psm      psm       3064423   aug 30 2003  nohup.out.old 
-rw-r--r--   1 psm      psm     193949440   nov 26 2003  nohup.out.old2 
-rw-r--r--   1 psm      other   284008914   jan 20 21:02 nohup.out.old3 
-rw-r--r--   1 psm      other    13177409   jan 14 13:59 nohup.out1.Z 
-rw-r--r--   1 psm      other    16929128   már  3 13:26 nohup_out.txt 
-rw-r--r--   1 psm      other           0   ápr 30 11:46 psm.log_0430.txt
TC shows it in the list panel like this:

Code: Select all

nohup.out.old             3 064 423  30/08/2003 00:00 -644
nohup.out.old2          193 949 440  26/11/2003 00:00 -644
nohup.out.old3          284 008 914  20/01/2004 21:02 -644
nohup.out1.Z             13 177 409  14/01/2004 13:59 -644
nohup_out.txt            16 929 128           ?       -644
psm.log_0430.txt                  0           ?       -644
I know, even the year is missing from some dates, but TC has no problem with that (TC rules!! other FTP clients fail on that already!)
My question is, will it be possible to parametrise the parsing routine in such a way that it will be able to handle the hungarian months like "ápr" or "már"? What I suggest is, in the options there would be a list of alternatives to the months for the parser.
I switched to Linux, bye and thanks for all the fish!
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

From help:
List of definition characters (upper/lowercase is important!):
...
TTT Three letter month name (Jan, Feb, Mar, ...), supports English, German and French.
TTT=12 month names with 3 letters each
Allows the definition of foreign language month names. Example (polish):
TTT=stylutmarkwimajczelipsiewrzpa¥lisgru
HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

2Hacker
Where did you find this in the help???? I still cant find it :oops:
I switched to Linux, bye and thanks for all the fish!
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

Ok thanks! I found it. And sometimes i think I know a lot about TC... it is such a great program!
Thanks for that it really helped!
I switched to Linux, bye and thanks for all the fish!
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Post by *Clo »

2SanskritFritz
Hi !
FTP topic >>> Link to : Define server Type >>> § Characters for date & Time.
The same is in the Tutorial…
:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
SanskritFritz
Power Member
Power Member
Posts: 3693
Joined: 2003-07-24, 09:25 UTC
Location: Budapest, Hungary

Post by *SanskritFritz »

A funny error occured when I defined the new server type. I saved the server type under the same name as the ftp session alias and it screwed up my wcx_ftp.ini. I had to revert to the backup, i didnt want to fiddle with it (two entries with the same alias appeared i think).
I switched to Linux, bye and thanks for all the fish!
Post Reply