Rank: Advanced Member
Groups: Member
Joined: 3/9/2008(UTC) Posts: 554
Was thanked: 1 time(s) in 1 post(s)
|
Action property specifies URL of server upload script processing uploaded files. There are two ways to specify this URL: absolute and relative. Suppose, we have the page http://www.aurigma.com/I...oaderSample/default.aspx containing Image Uploader. Let us see how to specify the URL to upload script upload.aspx using different ways: - Absolute path
Using this way you need to pass full URL to upload.aspx script via Action property:
Code:iu.addParam("Action", "http://www.aurigma.com/ImageUploaderSample/upload.aspx");
- Relative path
a. If you specify the path to upload.aspx using this way:
Code:iu.addParam("Action", "/upload/upload.aspx");
It means that upload.aspx will be requested by URL: http://www.aurigma.com/upload/upload.aspx.
b. If you use this method:
Code:iu.addParam("Action", "./upload/upload.aspx");
So your upload script will be: http://www.aurigma.com/I...ample/upload/upload.aspx.
c. In this case:
Code:iu.addParam("Action", "upload/upload.aspx");
You can find upload.aspx on server by this URL: http://www.aurigma.com/I...ample/upload/upload.aspx.
d. If you point the path to upload.aspx like this one:
Code:iu.addParam("Action", "upload.aspx");
It means that your upload.aspx file is here: http://www.aurigma.com/I...loaderSample/upload.aspx.
You can get more information about Action property in this article: Action property. Edited by user Saturday, December 19, 2009 5:39:54 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 6/16/2009(UTC) Posts: 16
Thanks: 1 times
|
Link Broken Could not find file 'C:\...\ImageUploader\auriuImageUploaderClassActionTopic.htm'. Edited by user Saturday, December 19, 2009 5:38:20 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Thanks for letting us know. I fixed the link. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.