Re: how do I ftp a large file ?
On Sun, Oct 13, 2002 at 02:15:23AM -0700, Firsto Lasto wrote: I have a 2gig file and a 6gig file on a linux system, and I am trying to move them to a freebsd machine. I have tried both scp and ftp and in both cases I get: File too large So, how should I transfer large files between unix systems ? This sounds like a job for split(1)... Dunno if your Linux distro offers a split command, but if so use that to break the file into little pieces, transfer them to the other host then use cat(1) to join the bits together again. HTH Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
On Sun Oct 13, 2002; 06:21PM -0700 Firsto Lasto propagated the following: Hi, I think this message was caught in a mail loop from ... 1996 or something, because what it says is you have not tested your ftp software with files larger than 4gigs. Obviously this is some joke or something, since these days a 4gig file is not rare or exceptional or interesting in any way. Can someone answer this question with recent info ? Again, I can see how back in the days of 4.3BSD and SunOS 4 that there would be file size limits like that, but obviously they would not exist in this modern day and age. The FTP spec may honestly have limits for file size. I don't know. You could of course try using NFS or the ghetto netcat method(tm), which is: recvhost$ nc -l -p 12345 thefile sendhost$ nc recvhost 12345 thefile ^C (You need to ^C out of netcat once the file has finished transferring (check the ls output)) This can actually be faster than doing an ftp. ;) (netcat is available in /usr/ports/net/netcat) thanks! Good luck! -wd -- chip norkus; unix geek and programmer; [EMAIL PROTECTED] question = (to) ? be : !be; --Shakespeare http://telekinesis.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
Thus spake Firsto Lasto ([EMAIL PROTECTED]): Ok, well I guess a: I'll make a conscious effort to arbitrarily limit functionality just because I don't need it is one way to approach things. Far from being arbitrary, I think you'll find that it has a lot to do with data type sizes in the language the server was written in. Nick -- We demand rigidly defined areas of doubt and uncertainty. -- Douglas Adams To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: how do I ftp a large file ?
In the last episode (Oct 13), Firsto Lasto said: Ok, well I guess a: I'll make a conscious effort to arbitrarily limit functionality just because I don't need it is one way to approach things. the wrong way, of course:) We ftp files up to 10gb between OSes here with no problems at all. Chances are you have an old FTP binary on your Linux box that was not explicitly compiled to accept files over 2gb. Linux defaults to using a 32-bit interface unless told otherwise. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message