PDA

View Full Version : Error - Could Not Get File Size


PhoenixNc
07-03-2011, 12:10 AM
I'm ftping the contents of a documents directory to my online file folder space from GoDaddy. I have the file overwrite settings set to overwrite on upload if file sizes are different.

The problem is that every single file size comparison for the transfer generates a could not get file size error (excerpt below). I used Filezilla to upload files initially and it did not throw any of these errors. (It couldn't handle large files though and that's why I'm testing out flashfxp)

Excerpt from transfer:

[R] 200 Switching to Binary mode.
[R] SIZE Tuloriad, The - John Ringo & Tom Kratman.mobi
[R] 550 Could not get file size.
[R] PASV
[R] 227 Entering Passive Mode (xxxx)
[R] Opening data connection IP: xxxxx 0 PORT: xxxxx
[R] STOR Tuloriad, The - John Ringo & Tom Kratman.mobi
[R] 150 Ok to send data.
[R] 226 File receive OK.
Transferred: Tuloriad, The - John Ringo & Tom Kratman.mobi 569 KB in 5.79 seconds (98.3 KB/s)
[R] MKD /Home/Ebooks/Ringo, John & Taylor, Travis S_
[R] 550 Create folder operation failed.
[R] CWD /Home/Ebooks/Ringo, John & Taylor, Travis S_
[R] 250 Directory successfully changed.
[R] PWD
[R] 257 "/Home/Ebooks/Ringo, John & Taylor, Travis S_/"
[R] TYPE A
[R] 200 Switching to ASCII mode.
[R] PASV
[R] 227 Entering Passive Mode (xxxx)
[R] Opening data connection IP: xxxx PORT: xxxx
[R] LIST -al
[R] 150 Here comes the directory listing.
[R] 226 Directory send OK.
[R] List Complete: 224 bytes in 0.58 seconds (0.4 KB/s)
[R] TYPE I
[R] 200 Switching to Binary mode.
[R] SIZE Claws That Catch - John Ringo & Travis S. Taylor.mobi
[R] 550 Could not get file size.
[R] PASV
[R] 227 Entering Passive Mode (xxxxxxxxxx)
[R] Opening data connection IP: xxxxxxxxxx PORT: xxxx

MxxCon
07-03-2011, 12:52 AM
these are 'normal' and harmless error messages.
FlashFXP sends SIZE command just before a file upload to double check that the file still doesn't exist since the last time it got directory listing. If file existed, FlashFXP would have to initiate upload slightly differently than brand new file upload. So to make sure that it doesn't corrupt your files, it sends this SIZE command.

bigstar
07-03-2011, 09:21 AM
As MxxCon pointed out this is part of the integrity checking performed by FlashFXP to insure the best file transfer rule is used.

Customers who do not require this level of integrity checking can turn off this feature, however please be aware that if the cache is stale (i.e. other users on the server modifying files since the folder was cached) that FlashFXP cannot guaranty the best file transfer rule will be applied.

This feature can be turned off globally via Options > File Transfer Rules
On the File Transfer Rules dialog uncheck Request file size/date prior to transfer and click OK,

This setting can also be changed per-site via the Site Manager