> >
> > def hochladen
>
> ^^^^^^^^^^^^^^^
>
> Finish this method or delete this line.
>
-i will.

> > 			f = File::open(dateiname,mode="w")
>
> It is a good Ruby idiom to use a block here:
>
> File::open(dateiname, "w") do |f|
> # ...
> end
>
> The file 'f' is closed at the final end.
>
> > 			if f
> > 				s.write("ok\n")
> > 			else
> > 				s.write("f\n")
>
> An "end" is missing here.
>

This was the keyproblem.

> I hope I could help you.


Yes, thanks.

Jonas