06-23-2017, 10:01 PM
(This post was last modified: 06-23-2017, 10:05 PM by Crimson Nape.)
RE: Toshiba FlashAir 2 with Flashpap configuration
OK, user is just the Profile/User name. Delete the "Dreamstation".
The line should read as:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user=Spencer exit=yes
RE: Toshiba FlashAir 2 with Flashpap configuration
But my profile name is "Spencer Dreamstation". See manual FlashPAP below:
Same Error even if I delete Dreamstation.
See below:
RE: Toshiba FlashAir 2 with Flashpap configuration
That can be a problem. The system may see that as two names or an additional parameter. Usually a space indicates a break or termination of input. This can be causing the command line to see the word "Dreamstation" as an additional parameter. That is why you will see the use of an underscore to separate words or names like,"Spencer_Dreamstation". Your eye sees two words but the computer sees it as one.
Try this; Copy your Spencer Dreamstation.fpap (in your FlashPAP directory) to the same directory and rename it Spencer.fpap or Spencer_Dreamstation.fpap. Open it with a text editor and change UserName= to match the file name. Now try running the script again, using the edited name. It should work.
- Red
06-24-2017, 08:10 AM
(This post was last modified: 06-24-2017, 08:11 AM by Crimson Nape.)
RE: Toshiba FlashAir 2 with Flashpap configuration
Update: I just tried an idea with success. Enclose
Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.
Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes
May the Flash be with you!
-
Red
06-24-2017, 01:15 PM
(This post was last modified: 06-24-2017, 01:20 PM by CB91710.)
RE: Toshiba FlashAir 2 with Flashpap configuration
Since the program has not (yet) worked, the username can be changed. It does not have to be the same as the username from Sleepyhead.
Out Sleepyhead profiles are our entire first/last names, but our FlasPAP profiles are just "Rich" and "Cam"
FlashPAP is only a tool to extract the files from the card and temporarily store them on the computer for later importation into Sleepyhead... it doesn't import directly into Sleepyhead.
And yes, I would suggest creating a separate folder JUST for the FlashPAP Username.
Importing directly into the Documents folder is going to put two folders and 3 files into that folder.
It would be better to create a dedicated folder for the import (see attachments)
06-24-2017, 01:25 PM
(This post was last modified: 06-24-2017, 01:27 PM by CB91710.
Edit Reason: Fixed!
)
RE: Toshiba FlashAir 2 with Flashpap configuration
(06-24-2017, 08:10 AM)Crimson Nape Wrote: Update: I just tried an idea with success. Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.
Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes
Interesting... I just tried this same command:
C:\FlashPAP\FlashPAP.jar user=Rich exit=yes
And I got the same error as Spencer
Prior to the error it popped up with a warning about write protection and suggested running from a different folder or as Admin.
Edit: Working now. The command must be executed from within the FlashPAP folder... it could not be accessed just by opening the CMD window and typing the command... a CD\FlashPAP command was needed.
RE: Toshiba FlashAir 2 with Flashpap configuration
(06-24-2017, 07:26 AM)Crimson Nape Wrote: That can be a problem. The system may see that as two names or an additional parameter. Usually a space indicates a break or termination of input. This can be causing the command line to see the word "Dreamstation" as an additional parameter. That is why you will see the use of an underscore to separate words or names like,"Spencer_Dreamstation". Your eye sees two words but the computer sees it as one.
Try this; Copy your Spencer Dreamstation.fpap (in your FlashPAP directory) to the same directory and rename it Spencer.fpap or Spencer_Dreamstation.fpap. Open it with a text editor and change UserName= to match the file name. Now try running the script again, using the edited name. It should work.
- Red
Copy and rename Spencer.fpap to which directory? If you meant the same directory as the script, it didn't work.
(06-24-2017, 08:10 AM)Crimson Nape Wrote: Update: I just tried an idea with success. Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.
Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes
May the Flash be with you!
- Red
Enclosing "Spencer Dreamstation" yielded same result.
(06-24-2017, 01:15 PM)CB91710 Wrote: Since the program has not (yet) worked, the username can be changed. It does not have to be the same as the username from Sleepyhead.
Out Sleepyhead profiles are our entire first/last names, but our FlasPAP profiles are just "Rich" and "Cam"
FlashPAP is only a tool to extract the files from the card and temporarily store them on the computer for later importation into Sleepyhead... it doesn't import directly into Sleepyhead.
And yes, I would suggest creating a separate folder JUST for the FlashPAP Username.
Importing directly into the Documents folder is going to put two folders and 3 files into that folder.
It would be better to create a dedicated folder for the import (see attachments)
Thanks CB91710 but confused here.
(06-24-2017, 01:25 PM)CB91710 Wrote: (06-24-2017, 08:10 AM)Crimson Nape Wrote: Update: I just tried an idea with success. Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.
Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes
Interesting... I just tried this same command:
C:\FlashPAP\FlashPAP.jar user=Rich exit=yes
And I got the same error as Spencer
Prior to the error it popped up with a warning about write protection and suggested running from a different folder or as Admin.
Edit: Working now. The command must be executed from within the FlashPAP folder... it could not be accessed just by opening the CMD window and typing the command... a CD\FlashPAP command was needed.
Sorry again confused, CD\FlashPAP command to be placed in the script? Can show me how? Thanks.
RE: Toshiba FlashAir 2 with Flashpap configuration
Add the command line:
cd /Users/imac/Documents/FlashPAP
Your file should look like this:
#!/bin/bash
cd /Users/imac/Documents/FlashPAP
java -jar /Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes
Place this script file in the FlashPAP directory. Although if the file is in the FlashPAP directory, you shouldn't need to "cd" it.
This works on my Linux box when it is in the FlashPAP directory:
#!/bin/bash
java -jar FlashPAP.jar user="Spencer Dreamstation" exit=yes
I created a fpap file that uses your name as well to test this.
- Red
06-24-2017, 09:02 PM
(This post was last modified: 06-24-2017, 09:22 PM by st8800.)
RE: Toshiba FlashAir 2 with Flashpap configuration
Thanks Red! Works like a charm!
No need place script in FlashPAP directory. Works from my desktop.
RE: Toshiba FlashAir 2 with Flashpap configuration