Troubleshooting
First steps
A short checklist to work through before digging into a problem, and how to record a session log.
Most problems fall into a few groups: the network, the server, your settings, or linscp itself. These checks tell you which one you face.
Checklist
Section titled “Checklist”-
Read the whole message. Below the main text, error dialogs often show a box with further lines, including the server’s own reply. That reply is usually the most useful part. Look it up in error messages.
-
Update linscp. Use Help › Check for Updates, or compare Help › About with the newest release on GitHub. Your problem may already be fixed.
-
Try another client with the same protocol. For SFTP and SCP, run
ssh alice@example.comorsftp alice@example.comin a terminal. For FTP, trycurl ftp://example.com/ --user alice. If that fails too, the problem is the network or the server, not linscp. -
Check the protocol and port. An SFTP site on an FTP-only server, or the other way round, fails in confusing ways. See choosing a protocol.
-
Rule out your own settings. Start linscp with empty, temporary settings and set up the site again by hand:
Terminal window linscp /ini=nulNothing is read from or saved to your real configuration. If the problem goes away, an option in your configuration causes it.
-
Check whether it is specific to linscp. If you also have WinSCP on Windows, try the same site there. Mention the result when you ask for help.
Record a session log
Section titled “Record a session log”A session log shows what linscp and the server said to each other. You need one to solve most connection and transfer problems, and maintainers ask for it in bug reports.
In the GUI
Section titled “In the GUI”- Open Options › Preferences › Logging. In the Site Manager you can reach the same page from the Advanced button’s menu, Logging….
- Check Enable session logging on level: and choose Normal. Choose Debug 1 or Debug 2 only if someone asks for it.
- Set Log path to a file you can find, such as
/home/alice/linscp.log. - Reproduce the problem, then open the file.
Leave Log passwords and other sensitive information unchecked.
In linscp-cli
Section titled “In linscp-cli”Add /log to the command line:
linscp-cli /log=/home/alice/linscp.log /loglevel=1 /script=/home/alice/upload.txt/loglevel raises the detail; leave it out for a normal log. An
XML log (/xmllog) records results for scripts
but is less useful for diagnosing a problem.
Where to go next
Section titled “Where to go next”- Cannot connect or log in: connection and login problems.
- A specific error text: error messages and status codes.
- Still stuck: getting help and reporting bugs.
- More logging options: logging.