PDA

View Full Version : Transfers only 64 KB per try


30cm
06-13-2011, 05:45 PM
* FlashFXP v[4].[10], build [1594], [x]registered, [ ]unregistered, [ ]pirated
* OS [x] Windows 7, [ ] Vista, [ ] WinXP, [ ] Other (specify)
* Running behind hardware router/firewall [x] Yes & Model [ASUS RT-N56U], [ ] No, [ ] Not sure
* Running software firewall [x] Yes, Name [Windows own], Ver. [ ], or [ ] No
* Running Antivirus [x] Yes, Name [Windows Security Essentials] or [ ] No
* Internet Connection [ ] DSL, [x] CABLE, [ ] Other(specify)

When I try to transfer a file from a site to a USB disk connected to my ASUS router via SMB, I can only transfer 64 KB at a time, before asking if the disk is full. If I retry and resume the download enough times, the complete file will transfer.

Ideas?

bigstar
06-14-2011, 03:13 PM
Please make sure the TCP/IP Buffers Size option is set to default, this can have a negative impact when downloading to a slow drive such as a usb disk or network share.

This can be changed globally via Options > Preferences > Connection > TCP/IP Buffer size

This can also be set per-site via the Site Manager.

I do have a couple questions:
1. What type of server are you downloading from, FTP, FTP SSL, or SFTP?
2. Is the usb disk slow?

Please let me know if this resolves the issue.

30cm
06-14-2011, 06:39 PM
Buffer size is set to default in options, and global in site manager.

I have tried both FTP SSL and FTP. No luck.
The disk is brand new. I also tried with another, older 2.5" disk.

It does work with Filezilla, but I really don't want to use it. Been using FlashFXP for at least ten years, and I really like it.

(Upgraded my version before trying again today).

bigstar
06-14-2011, 08:53 PM
I tested this scenario with several different usb drives connected to to my netgear router mapped as a network drive and I am unable to reproduce the issue, You might want to try using FlashFXP v4.0, if you haven't already.

Do you have transfer speed limiting enabled?

Does the FTP server have mode Z enabled and is mode Z being used during the transfer?

I am quite puzzled as to why you'd only be able to transfer 64kb

Can you explain exactly what happens when you attempt the transfer.. for example does it download 64kb and then immediately error or does it stall for 2 minutes before reporting the error..

30cm
06-15-2011, 07:15 AM
I tried v3.60 and v4.0. In v3.60, the first transfer is 64 KB, and the following transfers are 1 MB. Very strange.

No speed limit.

Don't know about the mode Z though. I've tried from a glFTPd server and from the ASUS built-in.

The transfer is aborted immediately after the 64 KB is transferred. No stalling. I get the error message "Unable to write to file, disk full?".

It feels like it is a problem with the router, but it is strange that it works with another client..

I'm going away for the weekend, so I won't be able to answer more questions until maybe Tuesday. Thanks for your help so far!

X3
06-15-2011, 09:42 AM
Can you try transferring to the USB drive directly connected to PC and not router?

perhaps even upgrade the router firmware...

another thing you can try is the latest beta 4.1 build 1596

Post results for all attempsts

pls thx...

30cm
06-21-2011, 02:34 PM
With 4.1.0 1596:

No problems transferring to the disk when connected directly to the computer.
Firmware is the newest..

30cm
06-22-2011, 07:48 AM
In beta 1598, the transfers are once again 64 KB, 1 MB, 1 MB, 1 MB...

bigstar
06-22-2011, 11:07 AM
Is this with FTP, FTP SSL, or SFTP?

And if with FTP SSL, do you also experience the problem with FTP?

30cm
06-22-2011, 03:25 PM
It is both with and without SSL.
With SFTP I get 256 KB, 1 MB, 1 MB and so on. It also takes a timeout/reconnect to start over.

bigstar
06-22-2011, 05:40 PM
If build 1596 worked then so should 1598, I am very puzzled as to why this problem would go away and then suddenly re-appear like this.

bigstar
06-23-2011, 07:56 AM
What if you try enabling the speed limit just to see if it makes a difference, it sounds like there's some unusual problem writing the file to the disk. Try something small to start say 400 KB/sec

Is the SMB drive mapped to a drive letter in windows? If not does mapping it to a drive letter make any difference?

30cm
06-23-2011, 08:10 AM
Sorry if I was confusing. The problem never went away.

The only thing that changed is how much data that is transferred on the second try.
With v3 it was 1 MB. With v4 beta, until 1596, it was 64 KB, and with 1598 it is 1 MB again.

bigstar
06-23-2011, 10:25 AM
ah okay, now I understand.

Can you please try the speed limit suggestion and answer my question regarding the SMB mapped to a drive letter?

30cm
06-23-2011, 10:59 AM
Sorry, I missed your questions.

No change with limiting speed. Tried 400 and 5.

Transferred 0 Files (0 bytes) in 13 seconds (0,0 KB/s)

(With 5 KB/s as limit. It did transfer 64 KB though).

The drive is mapped to a letter in Windows. I have six directories mapped to six letters, but none will accept files.

bigstar
06-23-2011, 05:10 PM
Can you check the windows event log and see if there are any errors reported when this occurs in FlashFXP, there might be some network errors related to the SMB.

30cm
06-23-2011, 06:20 PM
I have looked around, but I'm not sure where I should look for errors. Haven't found any yet.

bigstar
06-23-2011, 07:32 PM
I'm not sure myself as I've never seen such an error.

I have created a special debug build for you to try, I will send you a private message with a download link.

30cm
06-24-2011, 05:29 AM
Thanks.

Is it this you wanted?
[L] write failed wrote -1 of 65536 [error 8].

Can't find anything else that is new..

bigstar
06-24-2011, 07:25 AM
The WriteFile() command is failing,

Error 8: Not enough storage is available to process this command.

How big is your windows swap file?

Below are some links I found which might be related to this issue.

Win 7 Pro x64 Error 0x8007046a: Not enough server storage is available to process this command
http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/6573c5f7-7c61-4c4d-bd04-0f55518ecbeb/

[Samba] "not enough storage is available to process this command" error
http://samba.2283325.n4.nabble.com/quot-not-enough-storage-is-available-to-process-this-command-quot-error-td2433955.html (http://lists.samba.org/archive/samba/2007-June/132785.html)

When this happens, WinXP reports an error mapping the 3700's drive (\\wndr3700\nas) which includes the message "Not enough storage is available to process this command". This happens on all PCs on my LAN.
http://forum1.netgear.com/showthread.php?t=54037

30cm
06-25-2011, 08:40 AM
My swap file is 6 GB.

Thanks for the links. I read them, but didn't find anything useful.

I have contacted ASUS' support. I hope they can shed some light on this strange problem.

bigstar
06-25-2011, 11:53 AM
In build 1599 I added an additional retry on write failure, you might want to give it a try and see if it makes any difference.

30cm
06-25-2011, 04:22 PM
Well.. It retries three times, but then stops. No luck.

bigstar
06-25-2011, 09:43 PM
What exactly happens when it retries? can you please post a full copy of the session log.

I am wondering how much gets transferred before the retry is triggered and if its the same amount each time.

I don't think the retry you're seeing is from the code changes but rather the retry failed transfer limit,
The retry limit is defined in the preferences dialog > transfer section, perhaps you could increase it from the default of 3 so that the transfer is able to complete?

30cm
06-26-2011, 10:42 AM
Changing the retry count doesn't work. (Preferences/Transfer/Retry Failed Transfers/Download). Set it to 300, but it still tries 3 times.

PM för log.

bigstar
06-26-2011, 09:37 PM
There seems to be a mistake in the retry limit in the preference dialog, the limit should be 250, anything higher is considered invalid.

I posted a new build with some additional changes and this fix, I hope it's an improvement for you. please let me know.

30cm
06-27-2011, 05:24 AM
1601 installed.
It seems like it will only try twice, regardless of the setting.

ASUS answered:
Note that ASUS can't quarantee compability with spesific 3rd party software. However your inqury will be sent to development.

I'll just wait and see.