XUpload - Using and Manipulating the "Post info"

Message
Author
Jsoucek
Posts: 2
Joined: Dec 15, 2006 4:01 am

Using and Manipulating the "Post info"

#1 Postby Jsoucek » Dec 15, 2006 4:03 am

I would like to manipulate the data so it reads just the file name that was uploaded and that it was a success.

THanks in advance

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Dec 15, 2006 8:08 am

In Perl or PHP? Actually post.php/post.cgi are example file that show you how to receive POST from upload.cgi with upload data.

Jsoucek
Posts: 2
Joined: Dec 15, 2006 4:01 am

#3 Postby Jsoucek » Dec 18, 2006 5:57 pm

Basically I want the script to display a "success" page that says something like "Your file: [Filename] was successfully uploaded." The Post information has many fields I do not want to utilize. I wanted to be able to isolate individual information. Thanks In Advance

sandyinc
Posts: 7
Joined: Dec 15, 2006 8:30 pm

#4 Postby sandyinc » Dec 18, 2006 10:10 pm

Don't mean to thread-jack, but I have a similar question in regard to the POST information that is sent after the file is uploaded. When a file is re-named, is there a way to send the new filename with the POST information?

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#5 Postby PilgrimX182 » Dec 19, 2006 9:41 am

In Pro 2.3 we POST this file info after upload:

Example:

Code: Select all

file_0:12 Stones - My Life3.mp3
file_0_original:12 Stones - My Life.mp3
file_0_status:renamed
file_0_size:2937503
file_0_description:description
as you can see both original & renamed filenames there