View Single Post
  #2   Spotlight this post!  
Unread 01-31-2016, 01:28 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Help w/ WPILib Preferences

It looks like it will fail if you use windows line endings. Based on quick research, pscp keeps the original line endings. I suspect pscp downloads with unix line endings, and your text editor changes them to windows line endings, and then pscp sends it back as windows line endings.

I've successfully done this with filezilla, which will change line endings from unix to windows when transferring to windows and back to unix when transferring to unix. Alternately you can use a text editor that doesn't mess with the line endings.
Reply With Quote