Missing files when uploading directories

jmstacey
Posts: 2
Joined: Sat Mar 20, 2004 6:36 am

Missing files when uploading directories

Post by jmstacey » Sat Mar 20, 2004 6:49 am

Not all files are uploaded if I drag and drop multiple directories from the local browser to the active ftp connection. Its like Smartftp doesn't look for files recursivly in the directories and some times doesn't even copy the other directories. This is not a problem if you drag them from the local browser window to the session queue and then initiate the transfer so it appears to just be a problem with the direct transfers. I haven't noticed this with Direct Downloading the same ammount of files yet.

How to reproduce it?
Connect to a ftp server that you can upload to. Then from your local browser window highlight multiple directories (that have multiple subdirectories) and drag them to the active ftp connection with your server.
Once its done check all the files and you'll most likely find like I have that not all files or subdirectories are being copied over.

+- System -----------------------------

Microsoft Windows XP Professional
Service Pack 1 (Build 2600)

CPU Speed : 745 MHz
Total Memory : 391148 KB
Free Memory : 203692 KB

+- SmartFTP ---------------------------

Version : 1.0.981.37
Time Stamp : 2004-03-15 11:56:43

+- Application DLL --------------------

controls.dll : 1.6.981.37
ftpapi.dll : 2.0.981.37
language.dll : 1.0.981.37
reseng.dll : 1.3.981.37
smarthook.dll : 1.0.2.1

+- System DLL -------------------------

shell32.dll : 6.00.2800.1233 (xpsp2.030604-1804)
shlwapi.dll : 6.00.2800.1400
comctl32.dll : 6.0 (xpsp1.020828-1920)
riched20.dll : 5.30.23.1211
schannel.dll : 5.1.2600.1106 (xpsp1.020828-1920)

+- Internet Explorer ------------------

Version : 6.0.2800.1106

+- Winsock ----------------------------

Winsock : 2.2

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Missing files when uploading directories

Post by mb » Sat Mar 20, 2004 5:32 pm

I cannot reproduce this problem. When there's an error with uploading SmartFTP won't continue unless you have enabled the "Continue on error" in the Settings->Transfer.

-Mat

jmstacey
Posts: 2
Joined: Sat Mar 20, 2004 6:36 am

Re: Missing files when uploading directories

Post by jmstacey » Sun Mar 21, 2004 12:57 am

There aren't any errors. It just doesn't copy all the files over. I'll make up some screen shots an return later today.

Aokromes
Posts: 1519
Joined: Wed Jun 05, 2002 9:37 am

Re: Missing files when uploading directories

Post by Aokromes » Tue Mar 23, 2004 7:15 am

You can use the global queue to be sure that all the files are uploaded.

[Unknown]
Posts: 3
Joined: Thu Mar 25, 2004 8:31 pm

Re: Missing files when uploading directories

Post by [Unknown] » Thu Mar 25, 2004 8:38 pm

I can reproduce this issue, on a somewhat larger scale. Here are a few examples:

http://www.simplemachines.org/community ... pic=7263.0
http://www.simplemachines.org/community ... pic=7151.0

Now I am being critcised for offering SmartFTP as the recommended FTP client. It seems that when the subdirectories go too deep, SmartFTP bails at times.

-[Unknown]

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Missing files when uploading directories

Post by mb » Fri Mar 26, 2004 3:35 pm

Use the global queue for large uploads as aok suggested.

We could fix the bugs right away if you can provide us with a reproducable case. But its pretty hard to fix something based on assumptions

Thanks
-Mat

[Unknown]
Posts: 3
Joined: Thu Mar 25, 2004 8:31 pm

Re: Missing files when uploading directories

Post by [Unknown] » Sat Mar 27, 2004 4:44 am

Easily done.

Go to the following URL and download whichever install package you prefer: (tar.gz, tar.bz2, zip)
http://www.simplemachines.org/download.php

Now, login to some FTP server somewhere - doesn't seem matter which server - and drag the unzipped folder into SmartFTP. After it "finishes" double check to see that the following files were uploaded:

Themes/default/languages/index.english.php
Themes/default/images/bbc/bold.gif
Themes/classic/images/post/moved.gif

(just examples...)

For many users, they are not being uploaded. Because I have hidden CVS directories... (I smell a feature request - option to not upload hidden files in drag/drop...) I have always done each folder by folder, and as such never experienced this problem myself.

-[Unknown]

mb
Posts: 12026
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: Missing files when uploading directories

Post by mb » Sun Mar 28, 2004 12:02 am

Doesn't work for me.

I've uploaded and download the files twice and compared it with the original source and there was no difference. All files/folders are there.

I was using PASV mode, SSL clear data connection.

Im not saying there's no bug but as long as I haven't seen a reproduce case it's what I have to assume.

-Mat

zPiranha
Posts: 5
Joined: Sun Mar 28, 2004 1:57 am

Re: Missing files when uploading directories

Post by zPiranha » Sun Mar 28, 2004 2:01 am

I've experienced this bug with the package [Unknown] posted on my forums while upgrading. The User's Online list was unusable because SmartFTP had dropped the Themes/default/languages/Who.english.php file. You might want to check your uploaded test, mb, and see if that file's there, because it's the very last file uploaded in the package.

Aquilo
Posts: 2
Joined: Sun Mar 28, 2004 3:01 am

Re: Missing files when uploading directories

Post by Aquilo » Sun Mar 28, 2004 3:08 am

I have also been plagued with this problem and have tried many ways to see if I could fix it but still have it!

mb, if you want I can set up a temporary account so you can try seeing if this is a problem between SmartFTP and PureFTPd 1.0.12 which zPiranha and myself are experiencing these problems with.

you'll notice that after a few directories it freezes and says the server didn't respond soon enough then backtracks to the directory upload started in.

Locked