PS C:\patch> .\EVA-FTP-Client.ps1 -ScriptBlock { BootDeviceFromImage -filename c:\patch\7590_07_27_all_freetz-ng-32833M_image.in-memory } -debug
Security warning
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
computer. If you trust this script, use the Unb-File cmdlet to allow the script to run without this warning
message. Do you want to run C:\patch\EVA-FTP-Client.ps1?
[D] Do not run [R] Run once Suspend [?] Help (default is "D"): R
DEBUG: Response:
220 ADAM2 FTP Server ready
================
DEBUG: Sent
USER adam2
================
DEBUG: Response:
331 Password required for adam2
================
DEBUG: Sent
PASS adam2
================
DEBUG: Response:
230 User adam2 successfully logged in
================
DEBUG: Sent
SYST
================
DEBUG: Response:
215 AVM EVA Version 1.3578 0x0 0x46409
================
DEBUG: Sent
GETENV memsize
================
DEBUG: Response:
memsize 0x20000000
200 GETENV command successful
================
DEBUG: Memory size found : 08000000
DEBUG: Image size found : 0x0269fc00
DEBUG: Set memory size to : 0x05960400
DEBUG: Set MTD ram device to: 0x85960400,0x88000000
DEBUG: Sent
SETENV memsize 0x05960400
================
DEBUG: Response:
200 SETENV command successful
================
DEBUG: Sent
SETENV kernel_args_tmp mtdram1=0x85960400,0x88000000
================
DEBUG: Response:
200 SETENV command successful
================
DEBUG: Sent
TYPE I
================
DEBUG: Response:
200 Type set to BINARY
================
DEBUG: Sent
MEDIA SDRAM
================
DEBUG: Response:
200 Media set to MEDIA_SDRAM
================
DEBUG: Uploading file 'c:\patch\7590_07_27_all_freetz-ng-32833M_image.in-memory' to '0x85960400 0x88000000' ...
DEBUG: Sent
P@SW
================
DEBUG: Response:
227 Entering Passive Mode (192,168,178,1,12,0)
================
DEBUG: Sent
STOR 0x85960400 0x88000000
================
DEBUG: Response:
150 Opening BINARY data connection
================
DEBUG: Sent
SETENV memsize 0x0x20000000
================
DEBUG: Sent
UNSETENV kernel_args_tmp
================
DEBUG: Response:
226 Transfer complete
200 SETENV command successful
501 environment variable not set
================
DEBUG: Sent
QUIT
================
DEBUG: Response:
221 Thank you for using the FTP service on ADAM2
221 Goodbye.
================
ParentContainsErrorRecordException: C:\patch\EVA-FTP-Client.ps1:627
Line |
627 | $ScriptBlock.Invoke()
| ~~~~~~~~~~~~~~~~~~~~~
| Exception calling "Invoke" with "0" argument(s): "Error uploading image file."