Hi Jan!

* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [060615 15:10]:
> 
> Dear all,
> 
> as the bug # 7991 is flagged not-reproducible, let me give you some pieces
> of code, as I have the same or similar problem. The problem always shows up
> with the first example (a small text file) and only sometimes (but without
> obvious pattern) with the second example, which is a binary file.
> 
> > download.file("ftp://ftp.nhc.noaa.gov/pub/atcf/btk/bal012006.dat";,
> "C:/temp/bal012006.dat", method = 'internal', mode = 'w', cacheOK = FALSE)
> trying URL 'ftp://ftp.nhc.noaa.gov/pub/atcf/btk/bal012006.dat'
> ftp data connection made, file length 5110 bytes
> opened URL
> downloaded 0 bytes
> 
> Warning message:
> downloaded length 0 != reported length 5110

when I tried the first example (Windows NT, R 2.3.1), it worked
correctly two times, and then gave exactly the error message you cited
in the third run.

The second example worked once, and then gave the behaviour cited by
you, only the downloaded length differed. Specs:

> version
_                         
platform       i386-pc-mingw32           
arch           i386                      
os             mingw32                   
system         i386, mingw32             
status                                   
major          2                         
minor          3.1                       
year           2006                      
month          06                        
day            01                        
svn rev        38247                     
language       R                         
version.string Version 2.3.1 (2006-06-01)
> win.version()
[1] "Windows NT 4.0 (build 1381) Service Pack 6"

No problems on Linux, R 2.3.1 (after replacing "C:/temp" by /tmp/).

Regards,

Johannes

> 
> >
> download.file("ftp://ftp.nhc.noaa.gov/pub/atcf/aid_public/aal012006.dat.gz";,
>  "C:/temp/aal012006.dat.gz", method = 'internal', mode = 'wb', cacheOK =
> FALSE)
> trying URL 'ftp://ftp.nhc.noaa.gov/pub/atcf/aid_public/aal012006.dat.gz'
> ftp data connection made, file length 173760 bytes
> opened URL
> downloaded 155Kb
> 
> Warning message:
> downloaded length 159140 != reported length 173760
> 
> 
> Finally, is the spec of the system I'm working on:
> > version
>                _
> platform       i386-pc-mingw32
> arch           i386
> os             mingw32
> system         i386, mingw32
> status
> major          2
> minor          3.1
> year           2006
> month          06
> day            01
> svn rev        38247
> language       R
> version.string Version 2.3.1 (2006-06-01)
> > win.version()
> [1] "Windows XP Professional (build 2600) Service Pack 2.0"
> 
> 
> Many thanks in advance and best regards,
> Jan
> 
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Dr. Johannes Ranke                 [EMAIL PROTECTED]
UFT Bremen, Leobenerstr. 1         +49 421 218 8971 
D-28359 Bremen                     http://www.uft.uni-bremen.de/chemie/ranke

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to