Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
andrew_  
#1 Posted : Thursday, February 17, 2005 6:23:00 AM(UTC)
andrew_

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

Fedor  
#2 Posted : Wednesday, March 2, 2005 12:46:00 PM(UTC)
Fedor

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

Users browsing this topic
Guest
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.