Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending 1GB files over the network

 
J Mangual
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a limit to the size of files you can copy using java.io.* ? How about over a socket connection, can you copy files the same way. First you have to read the file then you have to send over the network, then you have to copy the data to a file. There seems like a lot of room for error. My friend says I should be able to send files as large as 1GB over a socket connection, is he right?
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15715
73
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no reason to think that there would be a limit to the size of files that you can send over the network.
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can copy large files over a private network, or download them from the Internet, so why would Java put limitations on that?
The only limiting factor will be the hard disk space and the maximum file size within the file system. With NTFS the latter should also not be a real limiting factor.
 
Something about .... going for a swim. With this tiny ad ...
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!