Bug: failure to connect when .bashrc prints output

FTP client for Android handsets.

Bug: failure to connect when .bashrc prints output

Postby andnotheruser » Fri Mar 27, 2015 7:24 am

If you have a line in your .bashrc that is sourced on login, such as:
Code: Select all
    echo "Hello World"

AndFTP will fail to connect to the server with the error:
Cannot change directory to Hello World

The AndFTP command prompt shows:
Code: Select all
cd "Hello World
bash: line 1: cd: Hello World

This problem goes away if the offending echo is removed from the .bashrc. Problem occurs with stderr as well as stdout.

It appears AndFTP's remote directory is somehow getting prepended with the output from the .bashrc sourced on login, causing the cd command to fail.
Posts: 1
Joined: Fri Mar 27, 2015 7:17 am

Return to AndFTP


Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.