[Oberon] Re. Another peculiar failure; FTP.PutFiles.

easlab-absa easlab at absamail.co.za
Sun Sep 18 13:29:23 CEST 2011


Peter E. wrote:-
> Executing FTP.PutFiles Test44989NoGo ~ yields a frozen Cantor.  
> <Ctrl>+<Break> <Ctrl>+<Break> yields the following trap report.
> 
-- snip --
> Is 44989 octets special for the filesystem?
> Is this a bug in FTP?  
> In NetTCP?
> In NetBase?  
> In the 3Com driver? 
> Any ideas?  

There's too much to unravel here.
You must spilt the heirarchy:-
1. your network
2. ETHO: are you trying something new/untested
3. ETH seems to be sleeping/broken
4. Switzerland seems broken: definitely the local embassy;
   and AHV is trying to screw me.

For confirming ETH's servers, I often use somethink like this 
logger:  `<theLogger>   <File of ListofURLs> <File results to>`

#!/bin/bash
echo ' get headers to $2'

for url in `cat "$1"`; do 
  echo $url >> "$2";
  echo >> "$2";  #  bare echo == newline
  curl -I "$url" >> "$2"; 
  echo "<><><><><>" >> "$2"; done
----------- end of script to fetch headers.

This fetched the URLs listed in <arg1> which were:--
http://www.oberon.ethz.ch/
http://carnot.yi.org/NetworkExtant.jpg
ftp://ftp.inf.ethz.ch/pub/ETHOberon/license.txt
ftp://ftp.inf.ethz.ch/pub/ETHOberon/Unix/release.txt
ftp://ftp.inf.ethz.ch/pub/ETHOberon/
ftp://ftp.inf.ethz.ch/pub/ETHOberon/Native/LinuxBased/
ftp://ftp.inf.ethz.ch/pub/ETHOberon/Unix/x86.Linux/

And listed what the <headers> were in <arg2> which gave me:-
<><><><>
http://www.oberon.ethz.ch/
HTTP/1.1 200 OK
Date: Sun, 18 Sep 2011 02:00:19 GMT
Server: Zope/(Zope 2.8.12-final, python 2.3.7, linux2) ZServer/1.1
Last-Modified: Sun, 18 Sep 2011 02:00:19 GMT
Content-Type: text/html; charset=utf-8
Set-Cookie: vcmp-p6-cookie=R1297467152; path=/; 
    expires=Mon, 19-Sep-2011 02:01:18 GMT
Via: 1.1 www.oberon.ethz.ch
Cache-Control: max-age=3600, no-cache=set-cookie
Expires: Sun, 18 Sep 2011 03:00:19 GMT
Accept-Ranges: bytes
<><><><><>
http://carnot.yi.org/NetworkExtant.jpg
HTTP/1.1 200 OK
Date: Sun, 18 Sep 2011 02:00:03 GMT
Server: Apache/2.2.16 (Debian)
Last-Modified: Thu, 15 Sep 2011 20:31:49 GMT
ETag: "13d0c-5dc21-4ad00c421d740"
Accept-Ranges: bytes
Content-Length: 384033
Content-Type: image/jpeg
<><><><><>
ftp://ftp.inf.ethz.ch/pub/ETHOberon/license.txt
<><><><><>
ftp://ftp.inf.ethz.ch/pub/ETHOberon/Unix/release.txt
<><><><><>
ftp://ftp.inf.ethz.ch/pub/ETHOberon/
<><><><><>
ftp://ftp.inf.ethz.ch/pub/ETHOberon/Native/LinuxBased/
<><><><><>
ftp://ftp.inf.ethz.ch/pub/ETHOberon/Unix/x86.Linux/
<><><><><>

So the first 2 entries, including your URL, seem ok.
If I had time, I'd first check from my records, that 
curl -I <ftp URL> is valid syntax, like it is for http.

`curl <get the header>` is usefull to confirm the file-size
before d/l-ing some suspected monster-File.

BTW such fetches operate in background while you are
fetching your email etc.

== Chris Glur.





More information about the Oberon mailing list