login about faq

Hello,

in some networks it happens that a downloaded file is cached somewhere. If later a new file but with same filename is downloaded, we receive the older file.

We are sure that this happens, since we check file size before (=on ftp server) and after download (=local file). And we're quite sure that it is a local network issue, as we have a few networks only where this happens. And at one network it happens since the server was changed from server 2003 to server 2012.

So I have two questions: - is it possible to connect and/or download a file and to insure that is the file from ftp and not a localy cached one? - which standrad component of a server 2012 does a ftp-caching and how to avoid this?

Thanks Florian

asked May 31 at 13:54

Florian's gravatar image

Florian
1


I've never heard of a caching issue with an FTP server. Caching typically involves HTTP. When an FTP client (such as Chilkat) connects to an FTP server, it's connecting directly to the FTP server. I don't see how any external caching mechanism could get in the way. It seems an impossibility to me..

link

answered May 31 at 17:24

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

I know! It sounds really strange, but I have to say it's a fact. a. two different customers have the same issue b. both of them have a winserver 2012 c. one of them had the problem since upgrading from server 2003 d. we checked file size before and after download. And if there was a file with same name before, the downloaded file has size of first downloaded file.

I found some posts according IE is caching FTP files, but could it be, that a chillkat ftp connection is done by IE Internet connection settings?

Florian

(Jun 01 at 04:05) Florian

Our workaround now is to rename file on ftp (by adding an unique id), to download it and to rename it back. Not nice but it works.

Florian

link

answered Jun 01 at 04:05

Florian's gravatar image

Florian
1

maybe it is a problem of configure of your sftp server??

link

answered Jun 01 at 09:26

muggle222's gravatar image

muggle222
183

This is something I did not heard of before. Does a ftp server caching files?

But what is against this idea: both affected customers use different hosters, and even more, one was affected only after cahanging his own server.

(Jun 01 at 09:49) Florian

Is it just missing the end records?

Take a look at the send and receive buffer sizes.

link

answered Jun 01 at 12:31

cdlvj130's gravatar image

cdlvj130
9691017

No. As our workaround works the transfer itself is fine. F.e.:There's a file 123.txt with 500KB. It is downloaded and worked and deleted. And some hours later there's again a file 123.txt but only 100KB. We download the file and find a local 500KB file again. If we do our renaming workaround we have the correct files after download.

(Jun 02 at 04:49) Florian

Is the source (client) getting a good return code?

link

answered Jun 02 at 09:39

cdlvj130's gravatar image

cdlvj130
9691017

yes - transfer is always good. Otherways we would show a message and try to repeat.

(Jun 02 at 10:11) Florian

Hello,

we found a WIN-API function DeleteUrlCacheEntry() but are not sure if this is in relation or helpful in our problem.

Florian

link

answered Jun 03 at 04:31

Florian's gravatar image

Florian
1

That function is to clear the cache. We have problems when something changes on the other end, and get failures to connect. We move that to another server to do the retries every 30 minutes 24x7. So we have to run ipconfig /flushdns twice a day, and then we get a success.

Microsoft has changed something in the registry which is causing your problem. They are always doing this. Look at the TCPIP section on both versions. I would also check that window size for send and receive buffers.

link

answered Jun 03 at 10:10

cdlvj130's gravatar image

cdlvj130
9691017

Hello

great- first time I see that someone has the same problem.

Microsoft has changed something in the registry which is causing your problem and do you know what exactly this is - or which settings are changed?

Look at the TCPIP section on both versions. What do you mean with 'on both versions' IPV4 and IPV6?

Florian

link

answered Jun 03 at 10:17

Florian's gravatar image

Florian
1

server 2003, server 2012.

link

answered Jun 06 at 11:58

cdlvj130's gravatar image

cdlvj130
9691017

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90
×3
×3

Asked: May 31 at 13:54

Seen: 513 times

Last updated: Jun 06 at 11:58

powered by OSQA