View Single Post
Old 07-01-2004, 07:18 AM  
PurpleHeart
Junior Member
 
Join Date: Jul 2004
Posts: 1
Default FlashFXP doesn't retry enough times.

FlashFXP v3.0, build 1010, RC4, unregistered.
OS: Win2K, Running behind NAT/router: D-Link DI-604
Running Tiny Personal Firewall 5.5.1332.
Running Kaspersky Antivirus 4.5.0.48.
Have ADSL connection.

I download files from FTP server that limits session time.
If you are connected to the server more then x minutes, server
automatically closes the connection, even if you download something.
If i understand correctly, upon losing connection, Flash is supposed
to reconnect. But in practise something strange happens.
Below I quote from the log (private info xxx'ed):

------------------------------------------------
WinSock 2.0 -- OpenSSL 0.9.7d 17 Mar 2004
[R] Connecting to SERVER -> IP=xxx.xxx.xxx.xxx PORT=21
[R] Connected to SERVER
[R] 220 /////
[R] USER abc
[R] 331 User name okay, need password.
[R] PASS (hidden)
[R] 230 User logged in, proceed.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extension supported
[R] CLNT
[R] MDTM
[R] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[R] SIZE
[R] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
[R] REST STREAM
[R] XCRC filename;start;end
[R] 211 End
[R] CLNT FlashFXP 3.0.1010
[R] 200 Noted.
[R] CWD /
[R] 250 Directory changed to /
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE A
[R] 200 Type set to A.
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,4,232)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: 1256
[R] LIST -al
[R] 150 Opening ASCII mode data connection for /bin/ls.
[R] 226 Transfer complete.
[R] List Complete: 9 KB in 1,96 seconds (4,7 KB/s)
[R] TYPE I
[R] 200 Type set to I.
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,4,241)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: 1265
[R] REST 179765248
[R] 350 Restarting at 179765248. Send STORE or RETRIEVE.
[R] RETR abc.zip
[R] 150 Opening BINARY mode data connection for abc.zip (728190976 Bytes).
[R] 421 Maximum session time exceeded - closing.
[R] Transfer Failed!
[R] PASV
[R] 421 Service closing control connection.
[R] PORT xxx,xxx,xxx,xxx,7,219
[R] 421 Service closing control connection.
[R] Transfer Failed!
[R] PASV
[R] 421 Service closing control connection.
[R] PORT xxx,xxx,xxx,xxx,7,220
[R] 421 Service closing control connection.
[R] Transfer Failed!
[R] Connection lost: SERVER
[R] Attempting to Reconnect.
[R] Connecting to SERVER -> IP=xxx.xxx.xxx.xxx PORT=21 (attempt # 1)
[R] Connected to SERVER
[R] 220 /////
[R] USER abc
[R] 331 User name okay, need password.
[R] PASS (hidden)
[R] 230 User logged in, proceed.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extension supported
[R] CLNT
[R] MDTM
[R] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[R] SIZE
[R] SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
[R] REST STREAM
[R] XCRC filename;start;end
[R] 211 End
[R] CLNT FlashFXP 3.0.1010
[R] 200 Noted.
[R] PWD
[R] 257 "/" is current directory.
[R] TYPE I
[R] 200 Type set to I.
[R] PASV
[R] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,9,141)
[R] Opening data connection IP: xxx.xxx.xxx.xxx PORT: 2445
[R] REST 191580160
[R] 350 Restarting at 191580160. Send STORE or RETRIEVE.
[R] RETR abc.zip
[R] 150 Opening BINARY mode data connection for abc.zip (728190976 Bytes).
[R] 421 Maximum session time exceeded - closing.
[R] Transfer Failed!
--------------------------------------------


At the end, a dialog box appears:

--------------------------------------------
The folder already contains a file named "abc.zip".

Would you like to replace the existing file:

123 456 789 bytes

with this one?

0 bytes?
--------------------------------------------

and the "Resume" button is greyed. If I press "Resume all", the current
file is just removed from the queue.


The question is, what can I do, so that Flash retries to reconnect more
than once.




Here is flashfxp.ini:



--------------------------------------------
[Priority]
s1=*.sfv
s2=*.m3u
s3=*.nfo
s4=*.diz

[Main]
Option00000101111101010000000010000010000110110010 01144101000000011101011111111300
UTB=3
tbCapFTP=FlashFXP %s %ttr %p %n
build=1010
CSP=9518
setup=38168
FileExists=320320000
WQ7=38168
LSS=AF88A83EB6629537A0698B6DF214
Email=noone@nowhere.tv
Log Name=FlashFXP.log
Download Directory=C:\a\down
ConnectTimeout=40
TransferTimeout=3
RetryDelay=120
Status Size=400
RetryCount=9999
Idle Time=120
Anti-Cmd=0
KALV=30
MLS=2
FTPRetryCnt=9999
tbCapFXP=FlashFXP %ttr %te %n
DSL=2
USL=2
Identd User=
Identd SYS=UNIX
Identd Port=113
LoPort=1024
HiPort=2048
BindIP=
TTWait=30
RBV=0
Queue=101

[Graph]
V=0
H=65


[Window]
Left=76
Top=37
Width=640
Height=480
State=1
TS=0.322499990463257
BS=0.5
CS=0.75
LTS=0
RTS=0
THP=258

[SiteManager]
Left=100
Top=81
Width=592
Height=383
State=0

[Confirm]
Options=11111111
[List]
Custom=

[Sounds]
Active=1

[Proxy]
Type=0
Host=
Port=21
User=
Pass=
SKA=0

[Session]
1245824=07-01-04_14.09.06.1245824.fqf

[QueueWindow]
Left=0
Top=0
Width=571
Height=286
State=0

[SESDlg]
Left=100
Top=70
Width=592
Height=414
State=0
OnTop=0
Wrap=0
--------------------------------------------
PurpleHeart is offline