Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 13 of 13
  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Location
    Richmond, CA
    Posts
    210
    Thanks
    3
    Thanked 11 Times in 10 Posts

    Site design question

    Hello all,

    I'm working on a site where the client is working on touching up photos. The customer will upload the photos to the site and they would do the work and then they would be notified and download the photos from the site.

    Now, uploading a photo isn't a problem, but some customers might have 100+ photos which could mean upload a couple hundred meg of photos. Is there some technique or tool that would allow the customer to do this from a webpage and not an FTP?

    Any suggestions are appreciated. Thanks.

  • #2
    evo
    evo is offline
    waka Ionsurge
    Join Date
    Feb 2005
    Location
    United Kingdom
    Posts
    895
    Thanks
    5
    Thanked 12 Times in 12 Posts
    You'd have to upload the file and store its details into a database - e.g. mySQL. This is more of a serverside question - you'd need to use PHP/ASP, or similiar to achieve this.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Form

    And yes, you can do this with an HTML form and, as Evo already mentioned, some server side form processing.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    Regular Coder
    Join Date
    Aug 2006
    Location
    Richmond, CA
    Posts
    210
    Thanks
    3
    Thanked 11 Times in 10 Posts
    Storing information in databases isn't really the problem (I've done that umpteen times).

    The problem is uploading so many files (and so large). If I can select an entire directory and upload all the files in that directory, that'd be great... but I don't think forms can do that (you have to select files one at a time).

    I was hoping to find an example how to do it without something like a java applet, but I've not found any examples of that.

  • #5
    Regular Coder saeed's Avatar
    Join Date
    Oct 2002
    Location
    West Yorkshire
    Posts
    343
    Thanks
    32
    Thanked 0 Times in 0 Posts
    well on Hot Scripts you can find many free ASP/PHP scripts related to your query. Hope this will help...

    best of luck.

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Hmm I would try to find a flash file uploader. There are quite a few out there. One that comes to mind is MultiPowUpload - http://www.element-it.com/MultiPowUpload.aspx

    It allows you to upload multiple files at a time. It comes with a config file that allows you to change where the graphics will be stored.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #7
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts
    and I guess you'd probably need a hell of a server if there'll be lots of people doing it at the same time

  • #8
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    The most efficient way if uploading over 2Mb of data is to use a dedicated file transfer facility designed for the purpose. There is an FTP library available in PHP that can do this for you and other server side languages should have something similar. Just don't try to do it using the normal file transfer options built into languages that are not dedicated file transfer facilities as they mostly have about a 10000% overhead and will slow the server way down compared to using a facility designed for the purpose.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #9
    New to the CF scene
    Join Date
    May 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by croatiankid View Post
    and I guess you'd probably need a hell of a server if there'll be lots of people doing it at the same time
    Although, there's no reason why you can't have them queue. Anyway, it's probably less to do with the server, and more to do with the size of the inbound pipe.

    I run a web hosting company, and usually, inbound traffic is 1/10th of outbound, for your average shared hosting site.

    And anyway, how are the "touched up" photos going to be delivered back to the customer? That's a helluva big email! :-)

  • #10
    Regular Coder
    Join Date
    Aug 2006
    Location
    Richmond, CA
    Posts
    210
    Thanks
    3
    Thanked 11 Times in 10 Posts
    Quote Originally Posted by GoingLiveSoon View Post
    Although, there's no reason why you can't have them queue. Anyway, it's probably less to do with the server, and more to do with the size of the inbound pipe.

    I run a web hosting company, and usually, inbound traffic is 1/10th of outbound, for your average shared hosting site.

    And anyway, how are the "touched up" photos going to be delivered back to the customer? That's a helluva big email! :-)
    Customer will download them from the site, likely through HTTP. They'll get a link and download it with a browser (which works fine, it's the big upload that's the trick...)

  • #11
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,509
    Thanks
    8
    Thanked 1,090 Times in 1,081 Posts
    This sounds like a smart-alec answer, but if a customer
    has 100 digital photos to touch-up, why don't you have
    them mail you (snail mail) a photo CD? You could have
    their CD in 1-2 days priority mail. That would solve a lot
    of problems for both the sender and yourself.

    You could even provide your clients with a return-mail
    CD sleeve (sort of like NetFlix).

    They would have the choice of getting back a CD with re-touched
    photos, or viewing them back online.

  • #12
    Regular Coder
    Join Date
    Aug 2006
    Location
    Richmond, CA
    Posts
    210
    Thanks
    3
    Thanked 11 Times in 10 Posts
    Quote Originally Posted by mlseim View Post
    This sounds like a smart-alec answer, but if a customer
    has 100 digital photos to touch-up, why don't you have
    them mail you (snail mail) a photo CD? You could have
    their CD in 1-2 days priority mail. That would solve a lot
    of problems for both the sender and yourself.

    You could even provide your clients with a return-mail
    CD sleeve (sort of like NetFlix).

    They would have the choice of getting back a CD with re-touched
    photos, or viewing them back online.
    Good questions. Because:

    1. The photos may go back/forth a few times before it's finalized...

    and MOST importantly...

    2. That's how the customer wants it. (She owns the site, I'm just the programmer...)

  • #13
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,093
    Thanks
    11
    Thanked 101 Times in 99 Posts
    you can do the ftp via the webpage .. ftp://yourdomain.com in a webbrowser will give them a page they can drag and drop to , it does not get much easier than that.

    .... you can even put the FTP folder in an iframe in a regular page (if for no other reason than it annoys some of the 'frames are evil' crowd )
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •