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

Notification

Icon
Error

Options
Go to last post Go to first unread
R_Botha  
#1 Posted : Wednesday, July 12, 2006 7:09:12 PM(UTC)
R_Botha

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="">


Systems


R_Botha  
#2 Posted : Wednesday, July 12, 2006 10:27:21 PM(UTC)
R_Botha

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"

Systems


Fedor  
#3 Posted : Thursday, July 13, 2006 1:50:12 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,545

Thanks: 5 times
Was thanked: 58 time(s) in 57 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
Fedor  
#4 Posted : Thursday, July 13, 2006 1:54:23 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,545

Thanks: 5 times
Was thanked: 58 time(s) in 57 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
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.