Apache OpenOffice (AOO) Bugzilla – Issue 118445
error when reading a ftp file
Last modified: 2014-01-19 14:47:27 UTC
Using a macro like: ... dim oF as object ... oF=ThisComponent.sheets.getByname("Sheetname") ... dim FileNo as integer, File as string dim nl as integer, CurLine as string nl=0 FileNo=FreeFile Fichier="ftp://user:pass@server/directory/file.txt" Open Fichier For Input As #FileNo Do while not eof(FileNo) Line Input #FileNo, CurLine oF.getCellByPosition(0,nl).setString(CurLine) nl=nl+1 Loop Close #FileNo ... I get this error "Erreur d'exécution BASIC. Erreur d'E/S de périphérique". It occurs near the end of the file (possibly without a CR or LF or CR+LF for ending the file). The same error happens when writing to FTP.
Did this work with OOo 3.3. If it is a regression, and related to the libserf integration, then this is interesting. If the bug existing previously then I don't think it is a blocker.
I confirm, it doesn't work with OOo 3.3. I don't know if it's a bloker or not.
I played around with the given BASIC script and with the user interface in order to access files via FTP. I used OOo 3.1, OOo 3.3, OOo 3.4 Beta and AOO 3.4 latest developer snapshot (rev. 1296433). Results (valid for all used offices): - the BASIC script does not work. - browsing an FTP server works. - opening files via Open File dialog - I have switched to the OpenOffice.org dialogs in Menu Tools - Options - General - does not work. - inserted a linked images or section whose content is located on a FTP server does not work. Thus, it seems that main parts of FTP access are broken at least since OOo 3.1. --> from my point of view no show-stopper for AOO 3.4 --> adjusting importance from "blocker" to "major" BTW, the FTP access is not handled via serf in AOO (respectively neon in former OOo versions)
Confirmed per comment 3