0

Well, I suppose that the title explains it quite well. But I think I'd rather explain the problem: I'm at work, and sometimes i need to download a file which is larger than the 26 mg limit firewall.

I am quite aware on how to download a file, using java or c#.
What i need to do is separating the file in smaller chunks, which is fine, but how would be done?

Do I need to, have to or can, "masquerade" the file size, so it can be firewall approvable?

Any suggestions would be very much appreciated.

thank

As sanjay had asked me, the access is made through a webserver.

marcelo-ferraz
  • 3,147
  • 4
  • 38
  • 55
  • What protocol does the server expose to you? Regular sockets? A web server? Also, please be aware that unless the file itself is fragmented, chunk support depends a lot on the server implementation. Any more specifics would help. – Sanjay T. Sharma Jul 28 '11 at 13:59
  • How about using a Download Manager such as: http://www.speedbit.com/ you can even find an open source one like: http://dfast.sourceforge.net/ – Marcelo Jul 28 '11 at 14:02
  • Assuming the file is for a work related purpose, have you talked to the Network team to either increase your download permission on the firewall, or to get them to download it for you so you can access it from inside the firewall? – rossum Jul 28 '11 at 14:34
  • @rossum, if I could ask them for it, then I would not need to ask for the hints on how to make the code, right? The file is work, is just too problematic to ask anything to our infrastructure dep. – marcelo-ferraz Jul 28 '11 at 19:28
  • 1
    You need to know how they block it first. Is this http files? FTP? msn file transfer? – Eric Jul 28 '11 at 19:36

1 Answers1

1

'Chunking' from the client perspective is done through http resume.
See the answer to this question:
Java: resume Download in URLConnection

Community
  • 1
  • 1
crowne
  • 8,456
  • 3
  • 35
  • 50