hi pn169,
here is a buggy function for your information.
There seems to be a problem with the %f variable stating "unknown" rather then the defaulting to the main physical path's drive and this only when navigating up from a VMP contained folder.
I tried to make it as clear as possible in the following exemple.
The folders:
E:\Incoming\TestVar :: E has 55714 MB free
D:\Test_Main :: D has 11256 MB free
..+MainContent :: Is the content
F:\Test_Linkedfolder :: F has 18083 MB free
..+LinkedContent :: Is the content
The VFS:
D:\Test_Main;E:\Test_Linkedfolder|/Incoming/TestVar|TuS|SysOp|766111|r|0|0|0|0|1|0|0|0|0|
So the visible content in Flash is :
\
.+Incoming
..+TestVars
...+MainContent
...+LinkedContent
The eng-listed.msg file :
.--=+=------------------------------------------------------=+=--.
| [Ul: %XMB] [Dl: %xMB]
| [Credits: %CMB] [Ratio: %E] [Space: %fMB]
`--=+=------------------------------------------------------=+=--'
The Result:
We start at the root of the vfs and get to our /Incoming/TestVar folder. As you can notice, the [Space: %fMB] var gets updated with correct free space information.
[10:25:46] CWD Incoming
[10:25:46] 250 "/Incoming" is current directory.
[10:25:46] PWD
[10:25:46] 257 "/Incoming" is current directory
[10:25:46] PASV
[10:25:46] 227 Entering Passive Mode (192,168,1,2,5,199)
[10:25:46] Opening data connection IP: 192.168.1.2 PORT: 1479
[10:25:46] LIST -al
[10:25:46] 150 Opening ASCII data connection for ls /Incoming.
[10:25:46] 226-.--=+=------------------------------------------------------=+=--.
[10:25:46] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:25:46] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: 55714MB]
[10:25:46] 226-`--=+=------------------------------------------------------=+=--'
[10:25:46] 226 Yeah ... That was good. Give me more... .
[10:25:46] List Complete: 1 KB in 0,03 seconds (58,4 KB/s)
[10:25:51] CWD TestVar
[10:25:51] 250 "/Incoming/TestVar" is current directory.
[10:25:51] PWD
[10:25:51] 257 "/Incoming/TestVar" is current directory
[10:25:51] PASV
[10:25:51] 227 Entering Passive Mode (192,168,1,2,5,200)
[10:25:51] Opening data connection IP: 192.168.1.2 PORT: 1480
[10:25:51] LIST -al
[10:25:51] 150 Opening ASCII data connection for ls /Incoming/TestVar.
[10:25:51] 226-.--=+=------------------------------------------------------=+=--.
[10:25:51] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:25:51] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: 11256MB]
[10:25:51] 226-`--=+=------------------------------------------------------=+=--'
[10:25:51] 226 Yeah ... That was good. Give me more... .
[10:25:51] List Complete: 247 bytes in 0,03 seconds (7,8 KB/s)
All good upto here the [Space: %fMB] var defaulted to the main physical path's drive D:
Now lets get into the contained folders
[10:25:56] CWD MainContent
[10:25:56] 250 "/Incoming/TestVar/MainContent" is current directory.
[10:25:56] PWD
[10:25:56] 257 "/Incoming/TestVar/MainContent" is current directory
[10:25:56] PASV
[10:25:57] 227 Entering Passive Mode (192,168,1,2,5,201)
[10:25:57] Opening data connection IP: 192.168.1.2 PORT: 1481
[10:25:57] LIST -al
[10:25:57] 150 Opening ASCII data connection for ls /Incoming/TestVar/MainContent.
[10:25:57] 226-.--=+=------------------------------------------------------=+=--.
[10:25:57] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:25:57] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: 11256MB]
[10:25:57] 226-`--=+=------------------------------------------------------=+=--'
[10:25:57] 226 Yeah ... That was good. Give me more... .
[10:25:57] List Complete: 113 bytes in 0,03 seconds (3,6 KB/s)
MainContent is in D:\Test_Main\MainContent and has D has 11256 MB free : All good
Now lets get go back one level to "/Incoming/TestVar"
[10:25:59] CDUP
[10:25:59] 250 "/Incoming/TestVar" is current directory.
[10:25:59] PWD
[10:25:59] 257 "/Incoming/TestVar" is current directory
[10:25:59] PASV
[10:25:59] 227 Entering Passive Mode (192,168,1,2,5,202)
[10:25:59] Opening data connection IP: 192.168.1.2 PORT: 1482
[10:25:59] LIST -al
[10:25:59] 150 Opening ASCII data connection for ls /Incoming/TestVar.
[10:25:59] 226-.--=+=------------------------------------------------------=+=--.
[10:25:59] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:25:59] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: unknownMB]
[10:25:59] 226-`--=+=------------------------------------------------------=+=--'
[10:25:59] 226 Yeah ... That was good. Give me more... .
[10:25:59] List Complete: 247 bytes in 0,03 seconds (7,8 KB/s)
And here is the buggy thing : [Space: unknownMB]
let's try with the second contained folder
[10:26:02] CWD LinkedContent
[10:26:02] 250 "/Incoming/TestVar/LinkedContent" is current directory.
[10:26:02] PWD
[10:26:02] 257 "/Incoming/TestVar/LinkedContent" is current directory
[10:26:02] PASV
[10:26:02] 227 Entering Passive Mode (192,168,1,2,5,203)
[10:26:02] Opening data connection IP: 192.168.1.2 PORT: 1483
[10:26:02] LIST -al
[10:26:02] 150 Opening ASCII data connection for ls /Incoming/TestVar/LinkedContent.
[10:26:02] 226-.--=+=------------------------------------------------------=+=--.
[10:26:02] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:26:02] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: 18083MB]
[10:26:02] 226-`--=+=------------------------------------------------------=+=--'
[10:26:02] 226 Yeah ... That was good. Give me more... .
[10:26:02] List Complete: 113 bytes in 0,05 seconds (2,3 KB/s)
LinkedContent is in F:\Test_Linkedfolder\LinkedContent and has D has 18083MB free : All good
Now lets get go back one level to "/Incoming/TestVar"
[10:26:09] CDUP
[10:26:09] 250 "/Incoming/TestVar" is current directory.
[10:26:09] PWD
[10:26:09] 257 "/Incoming/TestVar" is current directory
[10:26:09] PASV
[10:26:09] 227 Entering Passive Mode (192,168,1,2,5,204)
[10:26:09] Opening data connection IP: 192.168.1.2 PORT: 1484
[10:26:09] LIST -al
[10:26:09] 150 Opening ASCII data connection for ls /Incoming/TestVar.
[10:26:09] 226-.--=+=------------------------------------------------------=+=--.
[10:26:09] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:26:09] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: unknownMB]
[10:26:09] 226-`--=+=------------------------------------------------------=+=--'
[10:26:09] 226 Yeah ... That was good. Give me more... .
[10:26:09] List Complete: 247 bytes in 0,03 seconds (7,8 KB/s)
And here is the buggy thing again : [Space: unknownMB]
Refresh maybe?
[10:26:14] PASV
[10:26:14] 227 Entering Passive Mode (192,168,1,2,5,205)
[10:26:14] Opening data connection IP: 192.168.1.2 PORT: 1485
[10:26:14] LIST -al
[10:26:14] 150 Opening ASCII data connection for ls /Incoming/TestVar.
[10:26:14] 226-.--=+=------------------------------------------------------=+=--.
[10:26:14] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:26:14] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: unknownMB]
[10:26:14] 226-`--=+=------------------------------------------------------=+=--'
[10:26:14] 226 Yeah ... That was good. Give me more... .
[10:26:14] List Complete: 247 bytes in 0,03 seconds (7,8 KB/s)
Hmmm same thing, no change
lets get go back one level to "/Incoming"
[10:26:19] CDUP
[10:26:19] 250 "/Incoming" is current directory.
[10:26:19] PWD
[10:26:19] 257 "/Incoming" is current directory
[10:26:19] PASV
[10:26:19] 227 Entering Passive Mode (192,168,1,2,5,206)
[10:26:19] Opening data connection IP: 192.168.1.2 PORT: 1486
[10:26:19] LIST -al
[10:26:19] 150 Opening ASCII data connection for ls /Incoming.
[10:26:19] 226-.--=+=------------------------------------------------------=+=--.
[10:26:19] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:26:19] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: 55714MB]
[10:26:19] 226-`--=+=------------------------------------------------------=+=--'
[10:26:19] 226 Yeah ... That was good. Give me more... .
[10:26:19] List Complete: 1 KB in 0,05 seconds (39,8 KB/s)
And go back into "/Incoming/TestVar"
[10:26:23] CWD TestVar
[10:26:23] 250 "/Incoming/TestVar" is current directory.
[10:26:23] PWD
[10:26:23] 257 "/Incoming/TestVar" is current directory
[10:26:23] PASV
[10:26:23] 227 Entering Passive Mode (192,168,1,2,5,207)
[10:26:23] Opening data connection IP: 192.168.1.2 PORT: 1487
[10:26:23] LIST -al
[10:26:23] 150 Opening ASCII data connection for ls /Incoming/TestVar.
[10:26:23] 226-.--=+=------------------------------------------------------=+=--.
[10:26:23] 226-| [Ul: 3228454.91MB] [Dl: 275338.34MB]
[10:26:23] 226-| [Credits: UnlimitedMB] [Ratio: Unlimited] [Space: 11256MB]
[10:26:23] 226-`--=+=------------------------------------------------------=+=--'
[10:26:23] 226 Yeah ... That was good. Give me more... .
[10:26:23] List Complete: 247 bytes in 0,03 seconds (7,8 KB/s)
Now it's good
Keep on the good work, regards
#--------------------------------------------------------------------------------------------#
Q01: RaidenFTPD v2.4 , build [3681] , [x]registered
Q02: OS [x] WinXP
Q03: Running behind NAT [x] Yes & Model [Linksys WRT54]
Q04: Running firewall [x] Yes , Name [Hardware]
Q05: Running Antivirues [x] Yes , Name [NAV 11]
Q06: Network [x] ADSL
Q07: ISP Name [Some ISP]
Q08: External script installed [TJ ZipScript] , ver. [v2.0b4_fixed]
Q09: FTP client name [Flashfxp] , version [3.4 ]
#--------------------------------------------------------------------------------------------#
Post Extras:
|