Aurigma Forums
»
Legacy Products
»
Archive
»
Image Uploader
»
Uploading Files after a condition is met
Rank: Member
Groups: Member
Joined: 7/4/2006(UTC) Posts: 2
|
The Client wants the upload to occur only when a payment confirmation has occurred. Is there a simple way to move the upload of the main file (thumbnails are uploaded as usual) to a different page?
Also, how can i store the original path of the image as it is on the users PC?
Thank You
--> EDIT <--
Here is the code i used to try and enter the users image path into the database
MyCommand.CommandText = "INSERT INTO [File](Name, Width, Height, Description, fldOrderNum, fldUserID, fldFullPathClient) VALUES (?, ?, ?, ?, '" & varON & "', '" & Session("kt_login_id") & "','" & objUpload.GetFileDirName(objNextFile.OriginalPath) & "')"
objUpload.GetFileDirName(objNextFile.OriginalPath) <-- should give me the users image path right?
|
|
|
|
|
Rank: Member
Groups: Member
Joined: 7/4/2006(UTC) Posts: 2
|
Quote from image uploader 3.5 help file Quote:SourceFileName_N Contains a full name of Nth uploaded original file.
In fact the file name is sent along with the file field, however some server platforms (in particular, PHP) allows to get only the file name (without all the rest path). This way this field enables you to create folder structure as it was at the client machine. This works, except you have to use "FileName_N" instead of "SourceFileName_N" |
|
|
|
|
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)
|
Quote:This works, except you have to use "FileName_N" instead of "SourceFileName_N" I am sorry for this unfortunate misprint. We have corrected it in Image Uploader 4.0 docs. Also I should add that in version 4.0 FileName_N contains the name of the original Nth file (file name only, without a full path). In previous versions the entire file path was passed to server. Edited by user Wednesday, October 29, 2008 1:15:22 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
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)
|
Quote:The Client wants the upload to occur only when a payment confirmation has occurred. Is there a simple way to move the upload of the main file (thumbnails are uploaded as usual) to a different page? Could you say more detailed about the workflow you need. As far I understand, you need to receive the payment confirmation before the upload starts. Has I understood you correctly? Edited by user Wednesday, October 29, 2008 1:01:24 AM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Image Uploader
»
Uploading Files after a condition is met
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.