Go Back   FlashFXP Forums > >

Project: FlashFXP Bug Reports Ticket Tools
ID: 44 Category: General / Unknown
Title: Improper folder sync behavior Status: Closed (Fixed / Implemented)
Severity: Minor Version: 3.4.1 (Beta)

Senior Member
DayCuts
07-27-2007, 02:42 AM
Inproper folder sync behavior

I noticed some time ago that flashfxp seems to invoke improper folder sync when the option is disabled but hadnt had time to play with it.

This seems to occur whenever performing a directory changing action and quickly using alt+tab to switch active programs. I found the following KB shortcut in help file "Alt+Double Click: Enable Synchronized Browsing and enter the clicked directory"

However in any of the following example the alt key is never depressed at the same time as a click or at the same time as another key (other than tab) is depressed, but im guessing the quick concession of click/key and alt+tab use is causing the strange behavior.

A few quick examples to deomstrate and reproduce.

Side L = site, Side R = local, log in to L, Navigate into a folder, hit backspace to go back up and quickly use alt+tab to switch programs.
Flashfxp incorrectly changes the directory on the local side up one level,

Log as follows (nothing much to see here)
[17:26:21] [L] Connecting to ii FTP -> DNS=ftp.iinet.net.au IP=203.59.27.133 PORT=21
[17:26:21] [L] Connected to ii FTP
[17:26:21] [L] 220 ProFTPD 1.3.0 Server (ProFTPD) [::ffff:203.59.27.133]
[17:26:21] [L] USER anonymous
[17:26:21] [L] 331 Anonymous login ok, send your complete email address as your password.
[17:26:21] [L] PASS (hidden)
[17:26:21] [L] 230-Welcome to the iiFTP Server.
[17:26:21] [L] 230-
[17:26:21] [L] 230-News:
[17:26:21] [L] 230-
[17:26:21] [L] 230-:: RESUMED DOWNLOADS ::
[17:26:21] [L] 230-
[17:26:21] [L] 230-If you are attempting to resume a download over 2gb in
[17:26:21] [L] 230-size via FTP you may encounter problems if you have
[17:26:21] [L] 230-already passed the 2gb mark of the file. We suggest
[17:26:21] [L] 230-using rsync or HTTP if you are downloading files
[17:26:21] [L] 230-greater than 2gb in size until this is resolved.
[17:26:21] [L] 230-
[17:26:21] [L] 230-CentOS Mirror added.
[17:26:21] [L] 230-
[17:26:21] [L] 230 Anonymous access granted, restrictions apply.
[17:26:21] [L] SYST
[17:26:22] [L] 215 UNIX Type: L8
[17:26:22] [L] FEAT
[17:26:22] [L] 211-Features:
[17:26:22] [L] MDTM
[17:26:22] [L] REST STREAM
[17:26:22] [L] SIZE
[17:26:22] [L] 211 End
[17:26:22] [L] PWD
[17:26:22] [L] 257 "/" is current directory.
[17:26:22] [L] TYPE A
[17:26:22] [L] 200 Type set to A
[17:26:22] [L] PASV
[17:26:22] [L] 227 Entering Passive Mode (203,59,27,133,199,31).
[17:26:22] [L] Opening data connection IP: 203.59.27.133 PORT: 50975
[17:26:22] [L] LIST
[17:26:22] [L] 150 Opening ASCII mode data connection for file list
[17:26:22] [L] 226 Transfer complete.
[17:26:22] [L] List Complete: 676 bytes in 0.55 seconds (1.2 KB/s)
[17:26:24] [L] CWD pub
[17:26:25] [L] 250 CWD command successful
[17:26:25] [L] PWD
[17:26:25] [L] 257 "/pub" is current directory.
[17:26:25] [L] PASV
[17:26:25] [L] 227 Entering Passive Mode (203,59,27,133,199,41).
[17:26:25] [L] Opening data connection IP: 203.59.27.133 PORT: 50985
[17:26:25] [L] LIST
[17:26:25] [L] 150 Opening ASCII mode data connection for file list
[17:26:25] [L] 226 Transfer complete.
[17:26:25] [L] List Complete: 3,371 bytes in 0.47 seconds (7.0 KB/s)
[17:26:26] [L] CDUP
[17:26:26] [L] 250 CDUP command successful
[17:26:26] [L] PWD
[17:26:26] [L] 257 "/" is current directory.
[17:26:26] [L] PASV
[17:26:26] [L] 227 Entering Passive Mode (203,59,27,133,197,124).
[17:26:26] [L] Opening data connection IP: 203.59.27.133 PORT: 50556
[17:26:26] [L] LIST
[17:26:26] [L] 150 Opening ASCII mode data connection for file list
[17:26:26] [L] 226 Transfer complete.
[17:26:26] [L] List Complete: 676 bytes in 0.49 seconds (1.4 KB/s)


Side L = site, Side R = site, log in to L and R, Navigate into a folder on both sides, hit backspace to go back up on either side and quickly use alt+tab to switch programs.
Flashfxp incorrectly changes the directory on the other side up one level,

This example does the same thing when clicking instead of using the keyboard, and also when entering a folder that exists on both sides rather than just moving up a level.

Log as follows, you can see how it incorrectly changes up one level on R when it was only requested (by the user) on L

[17:38:01] [L] Connecting to ii FTP -> DNS=ftp.iinet.net.au IP=203.59.27.133 PORT=21
[17:38:01] [L] Connected to ii FTP
[17:38:01] [L] 220 ProFTPD 1.3.0 Server (ProFTPD) [::ffff:203.59.27.133]
[17:38:01] [L] USER anonymous
[17:38:01] [L] 331 Anonymous login ok, send your complete email address as your password.
[17:38:01] [L] PASS (hidden)
[17:38:02] [L] 230-Welcome to the iiFTP Server.
[17:38:02] [L] 230-
[17:38:02] [L] 230-News:
[17:38:02] [L] 230-
[17:38:02] [L] 230-:: RESUMED DOWNLOADS ::
[17:38:02] [L] 230-
[17:38:02] [L] 230-If you are attempting to resume a download over 2gb in
[17:38:02] [L] 230-size via FTP you may encounter problems if you have
[17:38:02] [L] 230-already passed the 2gb mark of the file. We suggest
[17:38:02] [L] 230-using rsync or HTTP if you are downloading files
[17:38:02] [L] 230-greater than 2gb in size until this is resolved.
[17:38:02] [L] 230-
[17:38:02] [L] 230-CentOS Mirror added.
[17:38:02] [L] 230-
[17:38:02] [L] 230 Anonymous access granted, restrictions apply.
[17:38:02] [L] SYST
[17:38:02] [L] 215 UNIX Type: L8
[17:38:02] [L] FEAT
[17:38:02] [L] 211-Features:
[17:38:02] [L] MDTM
[17:38:02] [L] REST STREAM
[17:38:02] [L] SIZE
[17:38:02] [L] 211 End
[17:38:02] [L] PWD
[17:38:02] [L] 257 "/" is current directory.
[17:38:02] [L] TYPE A
[17:38:02] [L] 200 Type set to A
[17:38:02] [L] PASV
[17:38:02] [L] 227 Entering Passive Mode (203,59,27,133,196,246).
[17:38:02] [L] Opening data connection IP: 203.59.27.133 PORT: 50422
[17:38:02] [L] LIST
[17:38:02] [L] 150 Opening ASCII mode data connection for file list
[17:38:02] [L] 226 Transfer complete.
[17:38:02] [L] List Complete: 676 bytes in 0.61 seconds (1.1 KB/s)
[17:38:08] [R] Connecting to ii FTP -> DNS=ftp.iinet.net.au IP=203.59.27.133 PORT=21
[17:38:09] [R] Connected to ii FTP
[17:38:09] [R] 220 ProFTPD 1.3.0 Server (ProFTPD) [::ffff:203.59.27.133]
[17:38:09] [R] USER anonymous
[17:38:09] [R] 331 Anonymous login ok, send your complete email address as your password.
[17:38:09] [R] PASS (hidden)
[17:38:09] [R] 230-Welcome to the iiFTP Server.
[17:38:09] [R] 230-
[17:38:09] [R] 230-News:
[17:38:09] [R] 230-
[17:38:09] [R] 230-:: RESUMED DOWNLOADS ::
[17:38:09] [R] 230-
[17:38:09] [R] 230-If you are attempting to resume a download over 2gb in
[17:38:09] [R] 230-size via FTP you may encounter problems if you have
[17:38:09] [R] 230-already passed the 2gb mark of the file. We suggest
[17:38:09] [R] 230-using rsync or HTTP if you are downloading files
[17:38:09] [R] 230-greater than 2gb in size until this is resolved.
[17:38:09] [R] 230-
[17:38:09] [R] 230-CentOS Mirror added.
[17:38:09] [R] 230-
[17:38:09] [R] 230 Anonymous access granted, restrictions apply.
[17:38:09] [R] SYST
[17:38:09] [R] 215 UNIX Type: L8
[17:38:09] [R] FEAT
[17:38:09] [R] 211-Features:
[17:38:09] [R] MDTM
[17:38:09] [R] REST STREAM
[17:38:09] [R] SIZE
[17:38:09] [R] 211 End
[17:38:09] [R] PWD
[17:38:09] [R] 257 "/" is current directory.
[17:38:09] [R] TYPE A
[17:38:09] [R] 200 Type set to A
[17:38:09] [R] PASV
[17:38:09] [R] 227 Entering Passive Mode (203,59,27,133,198,157).
[17:38:09] [R] Opening data connection IP: 203.59.27.133 PORT: 50845
[17:38:10] [R] LIST
[17:38:10] [R] 150 Opening ASCII mode data connection for file list
[17:38:10] [R] 226 Transfer complete.
[17:38:10] [R] List Complete: 676 bytes in 0.55 seconds (1.2 KB/s)
[17:38:12] [L] CWD pub
[17:38:12] [L] 250 CWD command successful
[17:38:12] [L] PWD
[17:38:12] [L] 257 "/pub" is current directory.
[17:38:12] [L] PASV
[17:38:12] [L] 227 Entering Passive Mode (203,59,27,133,195,179).
[17:38:12] [L] Opening data connection IP: 203.59.27.133 PORT: 50099
[17:38:13] [L] LIST
[17:38:13] [L] 150 Opening ASCII mode data connection for file list
[17:38:14] [L] 226 Transfer complete.
[17:38:14] [L] List Complete: 3,371 bytes in 1.66 second (2.0 KB/s)
[17:38:16] [R] CWD pub
[17:38:16] [R] 250 CWD command successful
[17:38:16] [R] PWD
[17:38:16] [R] 257 "/pub" is current directory.
[17:38:16] [R] PASV
[17:38:16] [R] 227 Entering Passive Mode (203,59,27,133,197,229).
[17:38:16] [R] Opening data connection IP: 203.59.27.133 PORT: 50661
[17:38:16] [R] LIST
[17:38:16] [R] 150 Opening ASCII mode data connection for file list
[17:38:16] [R] 226 Transfer complete.
[17:38:16] [R] List Complete: 3,371 bytes in 0.47 seconds (7.0 KB/s)
[17:38:18] [L] CDUP
[17:38:18] [L] 250 CDUP command successful
[17:38:18] [R] CDUP
[17:38:18] [R] 250 CDUP command successful
[17:38:18] [R] PWD
[17:38:18] [R] 257 "/" is current directory.
[17:38:18] [R] PASV
[17:38:19] [R] 227 Entering Passive Mode (203,59,27,133,197,113).
[17:38:19] [R] Opening data connection IP: 203.59.27.133 PORT: 50545
[17:38:19] [R] LIST
[17:38:19] [R] 150 Opening ASCII mode data connection for file list
[17:38:19] [R] 226 Transfer complete.
[17:38:19] [R] List Complete: 676 bytes in 0.47 seconds (1.4 KB/s)
[17:38:19] [L] PWD
[17:38:19] [L] 257 "/" is current directory.
[17:38:19] [L] PASV
[17:38:19] [L] 227 Entering Passive Mode (203,59,27,133,197,142).
[17:38:19] [L] Opening data connection IP: 203.59.27.133 PORT: 50574
[17:38:19] [L] LIST
[17:38:19] [L] 150 Opening ASCII mode data connection for file list
[17:38:19] [L] 226 Transfer complete.
[17:38:19] [L] List Complete: 676 bytes in 0.45 seconds (1.5 KB/s)

Windows 2000 Professional, FlashFXP 1184
Senior Member
DayCuts
07-27-2007, 03:37 AM
Re: Improper folder sync behavior

Forgot to mention this before, may or may not be related.

Sometimes when changing directory and quickly switching with alt+tab, flashfxp will fail to request a directory listing.

From memory log shows that the CDUP or CWD was issued and replied to correctly, however flashfxp failed to request a LIST (or whatever method is used), therefor the visual list has not changed (a quick refresh will fix it) and the related path bar does not change to reflect the new working path (refresh does not fix it).

Will provide more details/log/reproduction method when i can.
FlashFXP Developer
bigstar
07-30-2007, 04:36 AM
Re: Improper folder sync behavior

I think I worked out the problem, I'll be releasing a new build shortly please let me know if it works any better.
Senior Member
DayCuts
07-31-2007, 09:45 AM
Re: Improper folder sync behavior

Unable to repreduce the previous issues with build 1187, everything seems to be resolved and functioning correctly.
Ticket Tools
Subscribe to this Ticket


Posting Rules
You may not post new tickets

Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 11:32 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)