Rank: Member
Groups: Member
Joined: 2/6/2005(UTC) Posts: 5
|
Hello, After extensive testing, I have confirmed that the activex component (just to be clear, because I am also testing the java component) is failing to upload the last file. That is to say; If I select 4 images, it only uploads 3. If I select 16 images, it uploads 15. I have confirmed that the FileCount form value is returning one less than the expected value. I am using the code which ships with the trial download Code: Dim nFileCount As Integer = CInt(Request.Form("FileCount"))
For i As Integer = 1 To nFileCount
I have tested starting at a 0 index, and also adding (+1) to the variable 'i' with no luck. Please advise! Edited by user Monday, December 24, 2007 4:11:53 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
File indexes in Request.Files collection starts from 0, at that time as uploaded field names start from 1. SourceFile_1 SourceFile_2 ... SourceFile_N Could you post the code you use for saving files to drive? Also please check what value returns Request.Files.Count. Edited by user Tuesday, October 28, 2008 11:23:49 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
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.