Switching to folder slow with lots of activity

General questions about using FtpVC, ideas for new features, bug reports, and usage tips.
Post Reply
amin
Junior Member
Posts: 20
Joined: Fri Dec 05, 2008 6:00 pm

Switching to folder slow with lots of activity

Post by amin »

I have a project where all files and folders are under FtpVC 2.6 on Windows XP.

When I switch to one of the subfolders, it takes FtpVC around a minute or so to list the 20 files that are in this folder. It generates a lot of activity in the output pane for each of the files. Below is just the output of one of the 20 files.

Why is this taking so long? Why FtpVC even attempts to download and rename the file? I just want to see what files are in that folder.

9/5/2010 7:48:37 PM Action: Opening file xhtml-lat1.ent.stub
9/5/2010 7:48:37 PM Response: 200 Type set to I.
9/5/2010 7:48:37 PM Response: 227 Entering Passive Mode (208,123,215,23,9,55).
9/5/2010 7:48:37 PM Response: 213 452
9/5/2010 7:48:37 PM Response: 125 Data connection already open; Transfer starting.
9/5/2010 7:48:37 PM Action: Downloading file xhtml-lat1.ent.stub to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ftp3C60.tmp
9/5/2010 7:48:37 PM Response: 226 Transfer complete.
9/5/2010 7:48:38 PM Action: Renaming file xhtml-lat1.ent.stub to xhtml-lat1.ent.stub.4204786380.1.Amin.U08-04-2009#221#155#100
9/5/2010 7:48:38 PM Response: 350 File exists, ready for destination name
9/5/2010 7:48:38 PM Response: 550 xhtml-lat1.ent.stub.4204786380.1.Amin.U08-04-2009#221#155#100: Cannot create a file when that file already exists.
9/5/2010 7:48:38 PM Action: Opening file xhtml-lat1.ent.stub
9/5/2010 7:48:38 PM Response: 200 Type set to I.
9/5/2010 7:48:38 PM Response: 227 Entering Passive Mode (208,123,215,23,9,57).
9/5/2010 7:48:38 PM Response: 213 452
9/5/2010 7:48:38 PM Response: 125 Data connection already open; Transfer starting.
9/5/2010 7:48:38 PM Action: Downloading file xhtml-lat1.ent.stub to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ftp3C62.tmp
9/5/2010 7:48:38 PM Response: 226 Transfer complete.
9/5/2010 7:48:38 PM Action: Renaming file xhtml-lat1.ent.stub to xhtml-lat1.ent.stub.4204786380.1.Amin.U08-04-2009#221#155#100
9/5/2010 7:48:38 PM Response: 350 File exists, ready for destination name
9/5/2010 7:48:38 PM Response: 550 xhtml-lat1.ent.stub.4204786380.1.Amin.U08-04-2009#221#155#100: Cannot create a file when that file already exists.

User avatar
psguru
Site Admin
Posts: 1899
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Switching to folder slow with lots of activity

Post by psguru »

FtpVC will not normally download and rename stub files when it reads a directory. The only time it would do this is if you still have old (pre-2.0) stubs. These files end with .stub, whereas newer stubs have additional data after .stub in their names. Renaming old stubs happens only once, and it's the way fot FtpVC to migrate to new stubs (although "new" means after version 2.0, which isn't so new anymore).
psguru
PrestoSoft

amin
Junior Member
Posts: 20
Joined: Fri Dec 05, 2008 6:00 pm

Re: Switching to folder slow with lots of activity

Post by amin »

But why is rename failing? I see a lot of files ending with .stub in my ftpvc folder and I never used any version older than 2.4. How do I fix this problem? Should I manually delete the files ending in stub? Why doesn't FtpvC 2.6 automatically delete these obsolete stubs?

User avatar
psguru
Site Admin
Posts: 1899
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Switching to folder slow with lots of activity

Post by psguru »

Yes, you need to delete extra stubs. They should never be left in the ftpvc folder; if they are there, it is due to some problem during renaming or deletion.
psguru
PrestoSoft

amin
Junior Member
Posts: 20
Joined: Fri Dec 05, 2008 6:00 pm

Re: Switching to folder slow with lots of activity

Post by amin »

I think I found a repro scenario that allows you to reproduce the problem I am seeing with the new 2.6 release (build Sep 2):

If you attempt to label a folder recursively then the labeling process will create files ending with .stub! Please confirm this is a bug. I will send you more details privately so you can access my ftp server.

User avatar
psguru
Site Admin
Posts: 1899
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Switching to folder slow with lots of activity

Post by psguru »

Thanks for reporting this. The labeling bug is fixed in the latest build (2.6.1.0).
psguru
PrestoSoft

Post Reply