Alpha Video Training
Results 1 to 20 of 20

Thread: Uploading files from a UX

  1. #1
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Uploading files from a UX

    Could someone explain what the highlighted part of the help means.

    UploadFiles.PNG

    How do you set the security (Alpha Security I assume) of a folder on the remote server.
    I have set the remote folder's permission to "full controll", but I don't think that's what the help refers to.

    Permissions.PNG

    What I am trying to do is to design a UX that allows users to send emails (using Sparkpost) and attach a file from their local computer
    I have been successful of sending the email, but the link for the attachment does not open the file.
    However, the attached file is successfully sent to and saved on the remote server.

    Thanks
    Tony

  2. #2
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    Open Web Security from the Web Projects Control Panel. Double-Click on the Page Security icon. It opens to a "Page and Folder Permissions" dialog. Make sure the folder you're after is there. If not... create it and set permissions.

    Or, making sure you have the same folder established in your development project. Right-click on that folder... choose Folder Security and set Permissions.

    Then publish that folder. See if that helps.

  3. #3
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    David
    Thanks, I was able to do as you suggested and still am not able to download the file.
    I'm sure I'm missing something very simple
    I have tried so many different times tonight that my test emails are going to spam and now the link is not even appearing on the test emails.
    I think I'll call it a night and try again tomorrow,
    Thanks
    Tony

  4. #4
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    Try shutting down the server... and then starting again.

  5. #5
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    David
    I tried again, even added an images folder
    Set "uploadedFiles" folder and "Images" folder to "Allow all files in folder" in page and folder security
    Published security files
    Did a full publish
    Restarted remote server
    Restarted always up
    Sent email, image was on server
    After receiving email, only a small x was visible (no image)
    I know I'm doing some little something incorrect
    Thanks
    Tony

  6. #6
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    What's a sample of a link that should work?

  7. #7
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    ScoreCard.xlsx

  8. #8
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    Can you post the full URL? Or a working link? What you posted isn't doing much.

  9. #9
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    David

    I am missing a step ..... and/or going about this all wrong .....

    The way I have things currently set up, my users can send an email successfully and can upload a file from their local machine, successfully

    What I need to do is allow users to send an email with a file from their local machine as an attachment

    or

    Allow users to upload a file from their local machine to the server, then send an email with a link to the that file on the server

    ???

    Thanks
    Tony

  10. #10
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    That's why I was interested in seeing a link to an uploaded file on your server. I was interested in see what the response is when executing the link.

  11. #11
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    David - thanks for your help ....
    What is your suggestion for best practice to allow users to send emails with an attachment from their local machines?
    Tony

  12. #12
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    I don't see a procedural issue with what you want to do. Upload a file to the server, include that file in a SparkPost email. Or... in a link within the email. My tests show no issues.

    Send me a test link that I can run in a browser.

  13. #13
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    David
    Struggling with whole concept .......... back to the drawing board (or videos and message board searches)
    Thanks as always for your willingness to help a non computer guy like me!
    Tony

  14. #14
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    Just won't post a test url... well... I tried to help.

  15. #15
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    Sorry David
    I don't have a test url to post
    The only thing that was included in my email was the text "ScoreCard.xlsx" not a actual link
    Thanks
    Tony

  16. #16
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    I'm really confused. You wrote... "I have been successful of sending the email, but the link for the attachment does not open the file."

    Was the "ScoreCard.xlsx" the "link" that would not open?

  17. #17
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    Yes, that is correct

  18. #18
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,577

    Default Re: Uploading files from a UX

    Ok... now I get it. You need to build the correct link, a correctly formatted link, into your email message. For example, here is my ms.message_html assignment...

    Code:
    ms.message_html = "Here is the <b>information</b> you requested.<br><br><a href=\"http://xxx.xxx.xxx.xxx/PDF/Test3.pdf\">Click here to download</a>"
    Where xxx.xxx.xxx.xxx is the IP address or name... e.g. www.myserver.com, of your server.

  19. #19
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    All I have been successful in doing is two actions from one button

    1. Sending an email
    2. Uploading a file from my local machine to the remote server

    What I assume I am missing is how to attach the uploaded file to the sent email
    or
    Generating and including in the sent email the link to the file on the remote server

    Tony

  20. #20
    Member
    Real Name
    Tony Watts
    Join Date
    Mar 2010
    Posts
    432

    Default Re: Uploading files from a UX

    Thanks for example!
    If I understand, this would be hard coded into the UX and would limit users from sending different attachments.
    I will work on this.
    Thanks!
    Tony

Similar Threads

  1. uploading files
    By johnm in forum Web Application Server v7
    Replies: 2
    Last Post: 08-29-2006, 04:36 AM
  2. Uploading files to the WAS, jpg or pdf only?
    By David Priest in forum Web Application Server v7
    Replies: 0
    Last Post: 07-31-2006, 07:40 AM
  3. Uploading large files
    By Michael Crume in forum Web Application Server v7
    Replies: 2
    Last Post: 06-27-2006, 12:46 PM
  4. Uploading files
    By John Costello in forum Alpha Five Version 5
    Replies: 10
    Last Post: 06-21-2005, 05:45 AM

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
  •