>> We can even reproduce it with the "file:" protocol! >> > > What? I cant belief. Doh! ...forget what I said - all cool with "file:" (obviously my jetlag is kickin in) Sorry for the noise and thanks for the crosscheck. >> Can you point me into the right direction ...haven't had >> a closer look into the vfs codebase yet. >> > > Please find: > org.apache.commons.vfs.provider.webdav.WebdavFileObject and its inner > class WebdavOutputStream > > Also the sftp FileProvider uses a byte buffer. Its easy to change this > to jsch own "getOutputStream()" method but jsch internally also uses a > pipe and it is dog slow then. Java uses a buffer of 1K for its pipe wich > seems to be a huge performance bottleneck. Ok ...thanks for the pointers - will see what I can do cheers -- Torsten