Can't open data connection after a while

Advertisement

kimr-dk
Joined:
Posts:
2

Can't open data connection after a while

Hi

Both with the commands "synchronize local -delete -mirror" and "get * -resume" after it have downloaded many files, I've suddenly got:

2006092                   |            0 B |   51,2 KiB/s | binary |   0%
1.jpg                     |         39 KiB |   54,8 KiB/s | binary | 100%
2.jpg                     |         37 KiB |   56,4 KiB/s | binary | 100%
2006093                   |            0 B |   56,4 KiB/s | binary |   0%
1.jpg                     |         39 KiB |   54,1 KiB/s | binary | 100%
2.jpg                     |         37 KiB |   55,6 KiB/s | binary | 100%
2006094                   |            0 B |   55,6 KiB/s | binary |   0%
1.jpg                     |         39 KiB |   56,8 KiB/s | binary | 100%
2.jpg                     |         37 KiB |   50,1 KiB/s | binary | 100%
2006095                   |            0 B |   50,1 KiB/s | binary |   0%
Error listing directory '/Product/2006095'.
Could not retrieve directory listing
Can't open data connection for transfer of "/Product/2006095"
(A)bort, (R)etry, (S)kip, Ski(p) all: Abort
2006095                   |            0 B |   33,7 KiB/s | binary |   0%

It's random when the error appear.

I try to download/update local files from the server, so it won't have to download all files every time.

It seems to be a server error, but I can't figure out why.

Any ideas?

/Kim
Thanks

Reply with quote

Advertisement

kimr-dk
Joined:
Posts:
2

Think I found it... passive FTP 101 :-)

As the FTP server is FileZilla, I found on https://wiki.filezilla-project.org/Network_Configuration#Passive_mode_2
"Due to the nature of TCP (the underlying transport protocol), a port cannot be reused immediately after each connection. Hence the range of ports should not be too small or transfers of multiple small files can fail. A range of 50 ports should be sufficient in most cases."

I've opened a lot more ports and now it seems to work.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,317
Location:
Prague, Czechia

Thanks for sharing the solution.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum