Large file problem
It doesn't seem the patches to support 2GB files works on Windows. Wget hangs indefinitely at the end of transfer. E.g. \wget.exe ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nt.gz --05:38:54-- ftp://ftp.ncbi.nih.gov/blast/db/FASTA/nt.gz = `nt.gz' Resolving ftp.ncbi.nih.gov... 130.14.29.30 Connecting to ftp.ncbi.nih.gov|130.14.29.30|:21... connected. Logging in as anonymous ... Logged in! == SYST ... done.== PWD ... done. == TYPE I ... done. == CWD /blast/db/FASTA ... done. == PORT ... done.== RETR nt.gz ... done. Length: 3,920,316,626 (unauthoritative) 100%[==] 3,920,316,626 190.04K/sETA 00:00 hangs I have no idea what's causing this. Windows TaskManager show that wget is idle; # of allocations and page-faults are constant. The resulting .gz file is okay though. MingW 3,7 + gcc 3.3.1 Gisle V. # rm /bin/laden /bin/laden: Not found
Re: Large file problem
Hrvoje Niksic wrote: Gisle Vanem [EMAIL PROTECTED] writes: It doesn't seem the patches to support 2GB files works on Windows. Wget hangs indefinitely at the end of transfer. Is there a way to trace what syscall Wget is stuck at? Under Cygwin I can try to use strace, but I'm not sure if I'll be able to repeat the bug. There is strace for Win-NT too. But I dare not install it to find out. PS. it is quite annoying to get 2 copies of every message. Also, there should be a Reply-to: header so the replies goes to the list. Just my 0.02 . --gv
Re: Large file problem
Steve Thompson [EMAIL PROTECTED] writes: I have found in another context that the Windows C run-time library can't handle files larger than 2GB in any context, when using fopen, etc. The size of off_t is 4 bytes on IA32. I know that, but stdio is not necessarily tied to off_t anyway -- except for fseek/ftell, which had to be modified into fseeko/ftello (exceot on Windows) anyway. According to google, others have used stdio for large files with some success.
Re: Large file problem
Gisle Vanem [EMAIL PROTECTED] writes: There is strace for Win-NT too. But I dare not install it to find out. Hmm, OK. PS. it is quite annoying to get 2 copies of every message. I'll try to remember to edit the headers to leave your private address out. Also, there should be a Reply-to: header so the replies goes to the list. Just my 0.02 â.¬. There shouldn't IMHO, because then replies intended to be private end up on the list, which is really really bad.