Upload File to Server

Top  Previous  Next

Chiizu Photo File Workflow can upload files to servers for printing, presentation on photo sharing websites, photo ordering carts and more.

 

The file upload action uses HTTP POST as the protocol to send the files.  You will need to write a script for your web server to receive the file and store it locally.  It can then be presented in a web page.

 

You will need to specify a couple things in order for this to operate. 

 

1.the web URL for the script that will receive the file eg: http://prototype.chiizu.com/upload/SaveFile.ashx
2.the name of the POST variable that the photo will be associated with eg: uploadFile1
3.any additional POST or GET variables that need to be included with the HTTP post command.  These may include user names or person IDs, site brands, etc.

 

You can try this out using the Chiizu prototype server.  This server is hosted at Amazon on their virtual environments.  If you are interested in a similar solution for your business, please contact Chiizu for more information.

 

To try out the prototype server, please enter the settings as shown in this screenshot:

 

clip0046

 

 

You will also need to set a couple additional GET variables:

 

clip0047

 

Additional Parameters

 

These variables tell the Chiizu website:

 

which brand to display (bid)

 

what kind of upload this is (UploadType)

 

an AccessKey (this is so you can call the website and see the photos in the shopping card with this unique key - in this case the date and time, but it can be almost anything - for example a barcode, etc)

 

and an Album Name

 

Your web developers will inform you of what GET or POST variables they require as well as what your URL will be set to.

 

On the Chiizu Prototype system you can view the uploaded photo with this URL:

 

http://prototype.chiizu.com/member/accesskeylogin.ashx?AccessKey=ABC123

 

Where the AccessKey is the same one you used in the parameters above during the upload (ie: a barcode or similar).

 

Please note that the local copies of the photo files will be moved to the Destination folder once they are uploaded successfully.

 

Mobile Phone Prototype (a work in progress)

 

There are also a few demo iPhone pages on the Chiizu Prototype website for demonstration purposes. If you follow the AccessKeyLogin.ashx link that you generate using the iPhone you will get the normal site, but if you then type in the URL: http://prototype.chiizu.com/Mobile/AlbumList.aspx you will get a simple mobile view of the member, album and photo pages. You have to go to the AccessKeyLogin page first otherwise it will not show any albums.

 

For demonstration purposes we find the best way to get the login link onto the iPhone is to email it to yourself and then open the email with the iPhone and click the link - that saves typing it in on the phone.