Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Uploading files to directories other than c:\a5webroot

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Uploading files to directories other than c:\a5webroot

    For security reasons we don't want to grant all users access to sub-directories under c:\a5webroot for image, audio, and video data upload and storage. We want to direct uploads to the desktop application area under D:\Paladin Workgroup Manager.

    Our PathAlias is set as follows:
    [PathAlias.ADB_Path] = =a5.get_path()
    [PathAlias.ADB] = C:\A5Webroot\
    [Recordings_Path] = D:\Paladin Workgroup Manager\Call_Recordings\

    The code on our Call Recordings upload page is as follows:
    <html>
    <head>
    <form action=" <%a5
    ? request.script_name
    %> " method="post" enctype="multipart/form-data">
    <input type="file" name="FileToUpload" >
    <input type="submit" name="cmd" value="Upload File">
    </form>
    <%a5
    dim msg as c = ""
    if eval_valid("cmd")
    dim fn as C
    fn = "[Recordings_Path]" + FileToUpload.filename
    file.from_blob(fn, FileToUpload.data)
    msg = "<a href=\"/" + FileToUpload.filename + "\" target=\"_blank\">" + FileToUpload.filename + "</a> was uploaded<br /><br />"
    tbl = table.open("callrecordings")

    And the HTML error that we get when we try to load the page is this:
    500 Internal Server Error
    "Script Error
    Error:Script: /CallRecordings.a5w line:14
    file.from_blob(fn, FileToUpload.data)
    The filename, directory name, or volume label syntax is incorrect.
    C:\A5Webroot\D:\Paladin Workgroup Manager\Call_Recordings\03NET4.WAV"

    Is there anyway to get the Alias [Recordings_Path] to drop the C:\A5Webroot preface from the fn variable?

    Mike

    #2
    Re: Uploading files to directories other than c:\a5webroot

    The simplest solution is to hard code the path and forget the path alias.

    Another idea to try is to use the format
    [PathAlias.recordings_path]

    pat
    Pat Bremkamp
    MindKicks Consulting

    Comment


      #3
      Re: Uploading files to directories other than c:\a5webroot

      Tried editing the code to "hard code" the file location, but HTML error comes back saying "Alias Required".

      Comment


        #4
        Re: Uploading files to directories other than c:\a5webroot

        How about as an ugly 'find a bigger hammer' workaround
        change from:

        Code:
        fn = "[Recordings_Path]" + FileToUpload.filename
        file.from_blob(fn, FileToUpload.data)
        change to:
        Code:
        fn = "[Recordings_Path]" + FileToUpload.filename
        strtran(fn,"C:\A5Webroot\","")
        file.from_blob(fn, FileToUpload.data)
        -
        Yes, I did say ugly.

        Comment


          #5
          Re: Uploading files to directories other than c:\a5webroot

          Colin,

          Looked like it was worth a shot to me. Here is the code and error message.
          I just commented out what I had originally. I added an extra double quote at the end to get the null value right.

          fn = "[Recordings_Path]" + FileToUpload.filename
          strtran(fn,"C:\A5Webroot\",""")
          file.from_blob(fn, FileToUpload.data)
          'fn = "[Recordings_Path]" + FileToUpload.filename
          'file.from_blob(fn, FileToUpload.data)


          500 Internal Server Error
          "Script Error
          Error:Script: /CallRecordings.a5w line:15
          file.from_blob(fn, FileToUpload.data)
          The filename, directory name, or volume label syntax is incorrect.
          C:\A5Webroot\D:\Paladin Workgroup Manager\Call_Recordings\00W870.WAV"

          Comment


            #6
            Re: Uploading files to directories other than c:\a5webroot

            In my tests I always had problems adding the final "\" to an alias. Try removing that trailing slash from the alias, and make your line look like this:

            fn = "[Recordings_Path]" + "\\"+ FileToUpload.filename

            Note the double slashes. Also tweak the msg line to just msg = "hello" for now, to eliminate any problems with that complex expression as it may be affect by my suggested change above..
            Steve Wood
            See my profile on IADN

            Comment


              #7
              Re: Uploading files to directories other than c:\a5webroot

              Steve,

              Your the man! I finally got files to upload. Now I need to move on to playback. I have a field on the grid called "Call" defined as a link. It is properly saving the link as [Recordings_Path]filename. When I click on the link I get the following 404 error:

              404 Not Found
              The requested URL /[Recordings_Path]\00W870.WAV was not found on this server.

              It looks like somewhere in my call recordings a5w page I need to add "File:/" to the front of this to get a properly formed URL.

              I'll see if I can attach a txt of my code.

              Comment


                #8
                Re: Uploading files to directories other than c:\a5webroot

                You would never have the prefix 'file:/" in any web link.

                Does your link call a page that opens the wav file? You could open it directly the grid with the correct expression.

                If so...It's best to look at your page in the browser and look at the page source. Find where the link is supposed to be and evaluate the HTML. The link should be proper like
                HTML Code:
                <a href="mymusic/myfile.wav">Call</a>
                .
                Steve Wood
                See my profile on IADN

                Comment


                  #9
                  Re: Uploading files to directories other than c:\a5webroot

                  Scratch that. That is only valid if the desired file is in the document root, you said it was outside the document root. In that case, the code you attached is the wrong code, it has nothing about opening a file.
                  Steve Wood
                  See my profile on IADN

                  Comment


                    #10
                    Re: Uploading files to directories other than c:\a5webroot

                    When I click on the link I get this:

                    404 Not Found
                    The requested URL /[Recordings_Path]\00Q7J0.WAV was not found on this server.

                    The HTML link is:
                    http://pps.thruhere.net:8080/[Recordings_Path]C00Q7J0.WAV

                    I've looked at the xbasic and html on the grid and can't determine where a change needs to be made.

                    Mike

                    Comment


                      #11
                      Re: Uploading files to directories other than c:\a5webroot

                      You need to show the entire xbasic in order for anyone to evaluaate. But a couple things that may apply:

                      - you can't use "[Recordings_Path]", its [PathAlias.Recordings_Path]"
                      - ensure you have all forward slashes in your URL, you have a backslash.
                      - For your test, don't use the alias, enter the real URL.
                      - Assuming you have security turned for the server, you MUST include WAV as an allowed file in Web Security > Page Security > File Types always Allowed.
                      Steve Wood
                      See my profile on IADN

                      Comment


                        #12
                        Re: Uploading files to directories other than c:\a5webroot

                        In playing in the browser this is the only construction of a link I can get to work consistently:

                        file:///d:/paladin workgroup manager/call_recordings/03net4.wav

                        Now I have to get the "Call" link on the grid component to translate to that instead of what it does be default.

                        Here is the xbasic for the grid component:
                        dim tmpl as p
                        tmpl.ComponentName = "CallRecordings"
                        tmpl.ComponentType = "Grid"
                        tmpl.AjaxOn = .f.
                        tmpl.LayoutColumns = 1
                        tmpl.SecurityModel = "Group Based"
                        tmpl.SecurityMode = ""
                        tmpl.PreCalcMode = "Standard"
                        tmpl.DataSourceType = "DBF"
                        tmpl.DBF.type = "Table"
                        tmpl.DBF.table_name = "[PathAlias.ADB_Path]\callrecordings.dbf"
                        tmpl.DBF.primaryKey = "recno()"
                        tmpl.DBF.filter = ""
                        tmpl.DBF.order = "invert(cdate(Upload_date))+invert(Ir_number)"
                        tmpl.DBF.flags = ""
                        tmpl.DBF.fieldmap = <<%str%
                        key_table_1,n,5,0=recno("callrecordings")
                        IR_NUMBER,C,15,0=Ir_number
                        COMPANY,C,51,0=Company
                        CALL_ID,C,10,0=Call_id
                        CALLNAME,C,70,0=Callname
                        UPLOAD_DATE,D,8,0=Upload_date
                        CALL,O,10,0=Call
                        %str%

                        tmpl.grid_is_editable = .t.
                        tmpl.edit.allow_update = .t.
                        tmpl.edit.allow_insert = .t.
                        tmpl.edit.number_of_insert_rows = 1
                        tmpl.edit.allow_delete = .t.
                        tmpl.ShowNewRecordsOnLastPageOnly = .f.
                        tmpl.SecurityMode = ""
                        tmpl.edit.UpdateSecurityGroups = "6f73f3ec41634d928b79955bbb4aa32c,c3082184f7b143faad06a9a0d374664b,8d3ffb6c1fe142a3bae024cfaffe6bae,69fe2ab67a384d8fbf966cddf541c6d5"
                        tmpl.edit.InsertSecurityGroups = "6f73f3ec41634d928b79955bbb4aa32c,c3082184f7b143faad06a9a0d374664b,8d3ffb6c1fe142a3bae024cfaffe6bae,69fe2ab67a384d8fbf966cddf541c6d5"
                        tmpl.edit.DeleteSecurityGroups = "6f73f3ec41634d928b79955bbb4aa32c,c3082184f7b143faad06a9a0d374664b,8d3ffb6c1fe142a3bae024cfaffe6bae"
                        tmpl.edit.delete_checkbox_label = "Delete"
                        tmpl.edit.has_Cancel_button = .t.
                        tmpl.edit.cancel_button_text = "Cancel Entry"
                        tmpl.edit.submit_button_text = "Submit Changes"
                        tmpl.edit.confirm_before_submit = .f.
                        tmpl.edit.confirm_before_submit_message = "Submit changes?"
                        tmpl.edit.check_for_write_conflicts = .t.
                        tmpl.edit.write_conflict_check_type = 2
                        tmpl.edit.save_original_values = .t.
                        tmpl.edit.Show_Update_Commands = .f.
                        tmpl.edit.Execute_Update_Commands = .t.
                        tmpl.edit.TargetPage = "<Self>"
                        DIM tmpl.update.tables[1] as P
                        tmpl.update.tables[1].name = "[PathAlias.ADB_Path]\callrecordings.dbf"
                        tmpl.update.tables[1].PrimaryKey = "recno()"
                        tmpl.update.tables[1].PrimaryKeyType = "N"
                        tmpl.update.tables[1].table_alias = "callrecordings"
                        tmpl.grid_layout_style = 1
                        tmpl.add_records_only = .f.
                        tmpl.rows = 10
                        tmpl.suppress_empty_rows = .t.
                        tmpl.has_row_separator = .t.
                        tmpl.alternate_bands = .f.
                        tmpl.even_band_size = 1
                        tmpl.odd_band_size = 1
                        tmpl.alternate_column_bands = .f.
                        tmpl.even_column_band_size = 1
                        tmpl.odd_column_band_size = 1
                        tmpl.conditionalStyle = ""
                        tmpl.show_title = .f.
                        tmpl.title = ""
                        tmpl.FontSize = "Smaller"
                        tmpl.No_records_message = "No records in query"
                        tmpl.total_records_row_position = 1
                        tmpl.total_records_row = "Records:&nbsp; {Total_Records}&nbsp;"
                        tmpl.show_column_titles = 1
                        tmpl.show_row_labels = .t.
                        tmpl.sort_style = 3
                        tmpl.reset_page_number_when_sorting = .t.
                        tmpl.EditRegion.Grid.Top = <<%txt%
                        %txt%
                        tmpl.EditRegion.Grid.Bottom = <<%txt%
                        %txt%
                        tmpl.EditRegion.Grid.Left = <<%txt%
                        %txt%
                        tmpl.EditRegion.Grid.Right = <<%txt%
                        %txt%
                        tmpl.HasNewRecordsTitle = .f.
                        tmpl.NewRecordsTitle = "<tr><td class=\"{a5_style}ColumnTD\" colspan=\"{a5_colspan}\" style=\"padding: 0px;\" >New Records</td></tr>"
                        tmpl.HasExistingRecordsTitle = .f.
                        tmpl.ExistingRecordsTitle = "<tr><td class=\"{a5_style}ColumnTD\" colspan=\"{a5_colspan}\" style=\"padding: 0px;\" >Existing Records</td></tr>"
                        tmpl.row_separator = "<tr><td class=\"{a5_style}SeparatorTD\" colspan=\"{a5_colspan}\" style=\"padding: 0px;\" ></td></tr>"
                        tmpl.fields = 6
                        DIM tmpl.field_info[tmpl.fields] as P
                        with tmpl.field_info[1]
                        .Fieldname = "Ir_number"
                        .Scope = "Local"
                        .DisplayFormat = ""
                        .DisplayUnFormat = ""
                        .Type = "C"
                        .Updateable = .t.
                        .UpdateSecurityGroups = "6f73f3ec41634d928b79955bbb4aa32c,c3082184f7b143faad06a9a0d374664b,8d3ffb6c1fe142a3bae024cfaffe6bae"
                        .Table_Alias = "callrecordings"
                        .FieldToUpdate = "Ir_number"
                        .Varname = "IR_NUMBER"
                        .NullIfBlank = .f.
                        .Column.LabelPosition = "Left"
                        .Controltype = "TextBox"
                        .Textbox.Size = 17
                        .Textbox.MaxLength = 15
                        .Textbox.InLineStyle = ""
                        .Textbox.StyleFieldIfError = .f.
                        .Textbox.ErrorInlineStyle = ""
                        .Textbox.IsPassword = .f.
                        .BreakType = "None"
                        .nCols = 1
                        .Column.Hide = .f.
                        .Column.Heading = "IR Number"
                        .Column.Sort = "Ir_number"
                        .HasValidationRules = .t.
                        DIM validationSettings as P
                        With ValidationSettings
                        .general.require_value = .t.
                        .general.error_msg = "ERROR: ENTER 15 CHARACTER IR NUMBER"
                        .data_length.lRequired = .t.
                        .data_length.min_length = 15
                        .data_length.max_length = 15
                        .data_length.error_msg = "ERROR: IR NUMBER MUST BE PRECISELY 15 CHARACTERS"
                        End With
                        .Enable_ClientSideValidation = .f.
                        .Validate_OnBlur = .f.
                        end with
                        with tmpl.field_info[2]
                        .Fieldname = "Company"
                        .Scope = "Local"
                        .DisplayFormat = ""
                        .DisplayUnFormat = ""
                        .Type = "C"
                        .Updateable = .t.
                        .UpdateSecurityGroups = "6f73f3ec41634d928b79955bbb4aa32c,c3082184f7b143faad06a9a0d374664b,8d3ffb6c1fe142a3bae024cfaffe6bae"
                        .Table_Alias = "callrecordings"
                        .FieldToUpdate = "Company"
                        .Varname = "COMPANY"
                        .NullIfBlank = .f.
                        .Column.LabelPosition = "Left"
                        .Controltype = "DropDownBox"
                        .DropdownBox.InLineStyle = ""
                        .DropdownBox.Type = "Dynamic"
                        .DropdownBox.StyleFieldIfError = .t.
                        .DropdownBox.ErrorInLineStyle = ""
                        .DropdownBox.Size = 1
                        .DropdownBox.selectStyle = "Single"
                        .DropdownBox.NotInListRule = "Add to List"
                        .DropDownBox.Datasource = "DBF-Table"
                        .DropDownBox.Table = "[PathAlias.ADB_Path]\clients.dbf"
                        .DropDownBox.DisplayValueField = "Company"
                        .DropDownBox.DisplayValueFieldType = "C"
                        .DropDownBox.StoredValueField = ""
                        .DropDownBox.maxchoices = 0
                        .DropDownBox.Filter = ""
                        .BreakType = "None"
                        .nCols = 1
                        .Column.Hide = .f.
                        .Column.Heading = "Company"
                        .Column.Sort = "Company"
                        .HasValidationRules = .t.
                        DIM validationSettings as P
                        With ValidationSettings
                        .general.require_value = .t.
                        .general.error_msg = "ERROR: SELECT COMPANY"
                        End With
                        .Enable_ClientSideValidation = .f.
                        .Validate_OnBlur = .f.
                        end with
                        with tmpl.field_info[3]
                        .Fieldname = "Call_id"
                        .Scope = "Local"
                        .DisplayFormat = ""
                        .DisplayUnFormat = ""
                        .Type = "C"
                        .Updateable = .f.
                        .Varname = "CALL_ID"
                        .Column.LabelPosition = "Left"
                        .Controltype = "Label"
                        .Label.InLineStyle = ""
                        .BreakType = "None"
                        .nCols = 1
                        .Column.Hide = .f.
                        .Column.Heading = "Call ID"
                        .Column.Sort = "Call_id"
                        end with
                        with tmpl.field_info[4]
                        .Fieldname = "Callname"
                        .Scope = "Local"
                        .DisplayFormat = ""
                        .DisplayUnFormat = ""
                        .Type = "C"
                        .Updateable = .f.
                        .Varname = "CALLNAME"
                        .Column.LabelPosition = "Left"
                        .Controltype = "Label"
                        .Label.InLineStyle = ""
                        .BreakType = "None"
                        .nCols = 1
                        .Column.Hide = .f.
                        .Column.Heading = "File Name"
                        .Column.Sort = "<No Sort>"
                        .HasValidationRules = .t.
                        DIM validationSettings as P
                        With ValidationSettings
                        .general.require_value = .t.
                        .general.error_msg = "ERROR: ATTACH SOUND FILE, THEN FILL DATA, THEN SUBMIT"
                        End With
                        .Enable_ClientSideValidation = .f.
                        .Validate_OnBlur = .f.
                        end with
                        with tmpl.field_info[5]
                        .Fieldname = "Upload_date"
                        .Scope = "Local"
                        .DisplayFormat = ""
                        .DisplayUnFormat = ""
                        .Type = "D"
                        .Updateable = .f.
                        .Varname = "UPLOAD_DATE"
                        .Column.LabelPosition = "Left"
                        .Controltype = "Label"
                        .Label.InLineStyle = ""
                        .BreakType = "None"
                        .nCols = 1
                        .Column.Hide = .f.
                        .Column.Heading = "Upload Date"
                        .Column.Sort = "<No Sort>"
                        end with
                        with tmpl.field_info[6]
                        .Fieldname = "Call"
                        .Scope = "Local"
                        .DisplayFormat = ""
                        .DisplayUnFormat = ""
                        .Type = "O"
                        .Updateable = .f.
                        .Varname = "CALL"
                        .Column.LabelPosition = "Left"
                        .Controltype = "Link"
                        .link.InLineStyle = "color: #ffffff;"
                        .link.DisplayType = "Value in field"
                        .link.DisplayExpression = "{Callname}"
                        .link.StaticText = ""
                        .link.StaticImage = ""
                        .link.StaticImageInlineStyle = "border-style: none;"
                        .link.StaticImageAlt = ""
                        .link.AlternateImageControl = ""
                        .link.Type = "Field value is link address"
                        .link.ComputedAddress = ""
                        .Link.targetFrameOrWindow = ""
                        .Link.ClearParameters = .f.
                        .BreakType = "None"
                        .nCols = 1
                        .Column.Hide = .f.
                        .Column.SecurityGroups = "6f73f3ec41634d928b79955bbb4aa32c,c3082184f7b143faad06a9a0d374664b,8d3ffb6c1fe142a3bae024cfaffe6bae,69fe2ab67a384d8fbf966cddf541c6d5"
                        .Column.Heading = "Call"
                        .Column.Sort = "Call"
                        end with
                        tmpl.RecNav.SuppressIfOnlyOnePage = .t.
                        tmpl.RecNav.First_Label = "First"
                        tmpl.RecNav.Has_First_Button = .t.
                        tmpl.RecNav.Has_Last_Button = .t.
                        tmpl.RecNav.Has_Next_Button = .t.
                        tmpl.RecNav.Has_Prev_Button = .t.
                        tmpl.RecNav.HTML_Template_source = "Computed"
                        tmpl.RecNav.Justify = "Left"
                        tmpl.RecNav.Last_Label = "Last"
                        tmpl.RecNav.Next_Label = "Next"
                        tmpl.RecNav.Number_of_page_links = 10
                        tmpl.RecNav.Page_Numbering_Style = 3
                        tmpl.RecNav.PagesTemplate_w_PageCount = "{PageNumber} of {PageCount}"
                        tmpl.RecNav.PagesTemplate_wout_PageCount = "{PageNumber}"
                        tmpl.RecNav.Position = 1
                        tmpl.RecNav.Prev_Label = "Prev"
                        tmpl.RecNav.Show_disabled_controls = .t.
                        tmpl.RecNav.Show_Page_Count = .t.
                        tmpl.RecNav.Use_Images = .f.
                        tmpl.style_name = "Reverse"
                        tmpl.UseSimpleStyles = .f.
                        tmpl.ValidationSettingsErrorTemplate = "Field '{Fieldlabel}', Value '{Value}' : {Error}"
                        tmpl.ValidationSettingsMessage = "Click the 'Back' button and correct the errors."
                        tmpl.ValidationErrorsRowColumnTitle = "Row"
                        tmpl.ValidationErrorsErrorColumnTitle = "Error"
                        tmpl.OnlyValidateEditedFields = .f.
                        tmpl.GUID = "dd848b6a-d5a0-429e-b74c-8237dd80ab3d"
                        tmpl.ajaxOn = .f.

                        Comment


                          #13
                          Re: Uploading files to directories other than c:\a5webroot

                          The grid code is irrelevant, other than any LINK you have to the A5W page that opens the WAV file. You cannot use a link in a grid to directly open a file that is not under the document root (typically \a5webroot).

                          So I meant the code on that called A5W page.

                          And like I said earlier, you cannot include the file:// prefix anywhere in your link. That refers to YOUR computer and if it were in my browser, it would refer to MY computer.
                          Steve Wood
                          See my profile on IADN

                          Comment

                          Working...
                          X