Transferring files from the RoboRio - quasics/quasics-frc-sw-2015 GitHub Wiki
Sometimes you'll have files that are generated on the RoboRio, which need to be transferred over to a team laptop. (Examples include things like ".wpilog" log files that are generated when trying to profile/characterize the robot's performance.)
This generally means that you'll need to use "secure file transfer" (or "SFTP") tools to connect to the robot over a network and then pull copies over to your machine.
Examples of SFTP tools include:
- Command-line "sftp" tools (commonly used on Mac or Linux)
- PSFTP (PuTTY Secure File Transfer Protocol), which is an interactive Windows command-line tool
- FileZilla, which is a cross-platform (GUI) program
- Host/machine name: roboRIO-TEAM-FRC.local, where TEAM is your specific FRC team number (e.g., "2656").
- User name: lvuser
- Password: (None: the RoboRio software image comes without a password set for this account)
Log files are stored in the "logs" subdirectory for the lvuser account.
The following assumes that:
- You've launched the
psftptool (but have not done anything in it yet) - The prompt shown by the tool is "psftp>".
- You want to download the log files into a
C:\Temp\directory. - What you'll type is in bold.
(Note: this sample is being written without a Rio available to fully confirm; as a result, it may be slightly off, but should hopefully be sufficient to provide guidance.)
psftp> open roborio-2656-frc.local
<lots of text is shown...>
Username: lvuser
<more messages shown...>
psftp> cd logs
psftp> lcd C:\Temp
psftp> mget *.wpilog
<messages showing files being transferred...>
psftp> close