Changeset 1221 for trunk/core/data/System/CommandAndCGIScripts.txt
- Timestamp:
- 12/09/08 18:16:48 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/data/System/CommandAndCGIScripts.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/CommandAndCGIScripts.txt
r1163 r1221 322 322 | =createlink= | if defined, will create a link to file at end of topic | | 323 323 | =changeproperties= | if defined, this is a property change operation *only* - no file will be uploaded. | null | 324 325 You can use a tool like =curl= to upload files from the command line using this script. 324 | =redirectto= | URL to redirect to after upload. ={AllowRedirectUrl}= \ 325 must be enabled in =configure=. The parameter value can be a \ 326 =TopicName=, a =Web.TopicName=, or a URL. Redirect to a URL only works \ 327 if it is enabled in =configure=, and is ignored if =noredirect= is \ 328 specified.%BR% __Note:__ Redirect to a URL only works if it is enabled \ 329 in =configure= (Miscellaneous ={AllowRedirectUrl}=). | 330 | =noredirect= | Normally it will redirect to 'view' when the upload is \ 331 complete, but also designed to be useable for REST-style calling using \ 332 the 'noredirect' parameter. If this parameter is set it will return an \ 333 appropriate HTTP status code and print a message to STDOUT, starting \ 334 with 'OK' on success and 'ERROR' on failure. | 335 336 __Tips__ 337 * You can use a tool like =curl= to upload files from the command line using this script. 338 * You can call upload easily from !XmlHttpRequest in Javascript. 326 339 327 340 ---+++ =view=
Note: See TracChangeset
for help on using the changeset viewer.
