Avoid typing FTP password
Asked by
Wout De Nolf
I have a lightweight checkout of a branch located on an FTP server:
bzr checkout --lightweight ftp://username:
If I want to update my checkout, it asks for a password
cd c:/localpath
bzr update
FTP username@server password:
Tree is up to date at revision 5 of branch ftp://username:
Since I want to call "bzr update" from within PHP, I don't want to be prompted for a password. My current workaround is adding the password plaintext to c:/localpath/
ftp://username:
Is there a better (more secure) way of doing this?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Bazaar Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Wout De Nolf
- Solved:
- Last query:
- Last reply:
To post a message you must log in.