uploading known files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrew Fenyo

    uploading known files

    Hi all,

    I have a situation where users need to upload a set of 5 files. The
    file names are fixed, but the local source directory is not. (The
    destination folder varies between individuals.)

    I cannot see the way to adapt the standard file uploading code to deal
    with this, so suggestions would be appreciated.

    Andrew
  • Andy Hassall

    #2
    Re: uploading known files

    On Thu, 12 Oct 2006 17:38:36 +0100, Andrew Fenyo <A.J.Fenyo@kent .ac.ukwrote:
    >I have a situation where users need to upload a set of 5 files. The
    >file names are fixed, but the local source directory is not. (The
    >destination folder varies between individuals.)
    >
    >I cannot see the way to adapt the standard file uploading code to deal
    >with this, so suggestions would be appreciated.
    PHP can't do this, since the selection is client-side.

    Neither is there anything in HTML or even Javascript that would do it.

    You'd need to run something else on the client side to do it (which would be
    offtopic here) such as Java or Flash.

    --
    Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
    http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

    Comment

    • .:[ ikciu ]:.

      #3
      Re: uploading known files

      Hmm Andrew Fenyo <A.J.Fenyo@kent .ac.ukwrote:
      but the local source directory is not.

      why do you cary about local folder - file picker will appear and some1 can
      select files

      --
      ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
      Ikciu | gg: 718845 | yahoo: ikciu_irsa | www: www.e-irsa.pl

      2be || !2be $this =mysql_query();


      Comment

      • Jerry Stuckle

        #4
        Re: uploading known files

        Andrew Fenyo wrote:
        Hi all,
        >
        I have a situation where users need to upload a set of 5 files. The
        file names are fixed, but the local source directory is not. (The
        destination folder varies between individuals.)
        >
        I cannot see the way to adapt the standard file uploading code to deal
        with this, so suggestions would be appreciated.
        >
        Andrew
        In addition to what Andy said about the code - you can get rid of all of
        your non-php code. All you're doing is redirecting to another page; you
        don't need any output here.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        Working...