Alpha Video Training
Results 1 to 5 of 5

Thread: file upload

  1. #1
    John Haytko
    Guest

    Default file upload

    I would like to allow users to upload a file. I wish to let them select the item to associate the file with. The item reference would be selected from a dialog web component. I have done these things in the past with php. Can a combination of html, web components and xbasic scripts accomplish this? Has anyone done this? Any hints on how to start?

    Thanks

  2. #2
    John Haytko
    Guest

    Default RE: file upload

    Here is what I am trying in an A5W page:


    "head"
    "meta name="generator" content="Alpha Five HTML Editor""
    "title""/title"
    "/head"
    "body"
    "p"
    "form action="upload.a5w" enctype="multipart/form-data" method="post""
    "input TYPE="file" NAME="file" "
    "input type=submit name=btnSubmit value=Submit"
    "/form""/p"
    "/body"

    Upload.a5w contains the ftp_put_file() command. I do not think that the upload.a5w file is even attempting to run.

    Thanks

  3. #3
    Alpha Software Employee Lenny Forziati's Avatar
    Real Name
    Lenny Forziati
    Join Date
    Nov 2001
    Location
    Alpha Software
    Posts
    4,680

    Default RE: file upload

    John, the web application server does not support file uploads (input type=file).

    -Lenny

  4. #4
    John Haytko
    Guest

    Default RE: file upload

    Is that planned for the future? What is the purpose of the ftp_put_file() function?

    Thanks

  5. #5
    Alpha Software Employee Lenny Forziati's Avatar
    Real Name
    Lenny Forziati
    Join Date
    Nov 2001
    Location
    Alpha Software
    Posts
    4,680

    Default RE: file upload

    Yes, it is planned for the next version

    ftp_put_file() uploads a file from your Alpha Five client to an FTP server. You would use this from an Alpha Five desktop app.

    -Lenny

Similar Threads

  1. upload files to the Web Application Server
    By Ramon Lopez in forum Web Application Server v6
    Replies: 3
    Last Post: 09-15-2005, 01:50 PM
  2. upload and access data
    By John Fringer in forum Web Application Server v6
    Replies: 1
    Last Post: 04-30-2005, 06:02 AM
  3. Upload file to web server using web page
    By MIWAYNE in forum Alpha Five Version 6
    Replies: 1
    Last Post: 11-17-2004, 05:30 AM
  4. A5 -> Upload report to FTP Server
    By mronck in forum Code Archive
    Replies: 0
    Last Post: 08-14-2004, 09:48 AM
  5. Upload HTML pages to hosting server
    By Robert Lee in forum Alpha Five Version 5
    Replies: 8
    Last Post: 11-24-2003, 06:57 PM

Bookmarks

Posting Permissions

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