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



Go to last post Go to first unread
#1 Posted : Monday, January 22, 2007 8:33:46 PM(UTC)

Rank: Member

Groups: Member
Joined: 2/1/2006(UTC)
Posts: 40

What is the best way to save filename as sequential number?

If I upload 9 files, abc.txt, def.txt, ... and so on, I want to save it as 1.txt, 2.txt,... 9.txt.

I set FilesPerOnePackageCount = 2;

Alex Makhov  
#2 Posted : Tuesday, January 23, 2007 3:25:39 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998


You have to use the PackageIndex field of upload request to count the number of previously uploaded files.

Read the following article: POST Field Reference regarding this issue.

Edited by user Tuesday, October 28, 2008 6:00:19 AM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

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