How to force OpenOffice to use a specific login and password for FTP connection?

Asked by Erlisten

When I am trying to edit a document on a FTP site OpenOffice uses "anonymous" login which I don't want to give write permission to. Is there a way to force OpenOffice to use another login and password?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

From terminal:

openoffice ftp://user:passw@host/file

or

oowriter ftp://user:password@host/name_of_file.odt

You can define a place for do that go to:
Places->Connect to Server->Select FTP (with login )
Server: ip or dns resolvable name
Port: usually standard ftp port 21
Folder: blank or desidered folder /yourfolder/
Username: valid_ftp_username
Name to use for connection: usually same as -> valid_ftp_username

Then you can stop Firefox to open ftp server from terminal type:
gconftool-2 --set /desktop/gnome/url-handlers/ftp/command --type=string 'nautilus %s'

I suggest you to use ssh protocol, to get better security connection, then create a place with ssh connection.

If you are connecting a remote Ubuntu machine install ssh on remote:
sudo apt-get install ssh
then define a new local place using ssh connection.

HTH

Revision history for this message
Erlisten (erlisten) said :
#2

Thanks elart.it, that solved my question.