I have had a few conversations with wix support on the issue and have gotten nowhere. My only other two options after this are to request a new added feature (which means including a new attribute for the upload button: the path name that the user selected the file from) or to find another way to select a file within my wix web site. Short of this, I can only give up wix, because without being able to upload a file to AWS S3, my site is useless. The following is some of the discussions between me and Wix Support over the last few weeks:
Daniel (Wix Support)
April 15, 2019 8:25 AM (UTC-04:00)
Hello, and thank you for your patience.
I understand that you wish to receive an immediate answer with respect to the issue and that you have not necessarily found the answer your are seeking in the Wix Corvid Forum. As previously mentioned, however, the solution you seek requires coding. While we support Wix Code features and components here in the Support center, we are unable to provide support for custom coding which is necessary to achieve the functionality in question. Wix provides various tutorials and instructions for using Wix Code, but as Wix Code is an advanced feature and a dynamic product, Wix can only provide templates for coding features (as is the case here), but not provide the specific custom code necessary for individual sites.
Please be aware the the Wix Corvid Forum is a community driven network in which other developers and code beginners seek out assistance to address their respective needs. As such, we are not able to provide a specific time frame for when an answer may be provided.
Please also keep in mind that when posting in the forum to follow the guidelines outlined here. Following these guidelines can encourage other users to reply to your thread as the more information provided that describes the specific issue, the easier it is for the forum community to assist.
Sincerely, Daniel Wix Customer Solutions Expert
April 12, 2019 8:34 AM (UTC-04:00)
Thank you for responding to my question, but I think I need to ask the question in a different way. First, my experience with the Wix Code forum is not good. I have asked somewhere around a dozen questions over the last year in the forum and I have gotten zero answers which were useful to me. I am reluctant to try that path again so as not to waste my time.
Second, there are two people who work at Wix who can answer my question. The first is the person who wrote the code for the upload button. They would know what information from the user selection was kept(i.e. the path name used to find the file) and what information wasn’t. The second is the person who developed the AWS SDK app which I installed from the Wix app store. This person took all of the trouble of developing an app for the AWS SDK and I can’t believe that they released this app to the public without testing it. If they did test it, but they used hardcoded file names, that’s fine, but I would like to ask them to select the file using a file upload button in Wix and see if they can store something in AWS. Because AWS expects the full path name and without it you are unable to store anything in AWS which make the AWS SDK useless if you can’t store anything in AWS. It would be just phantom code, it doesn’t do anything.
I know I am asking a lot for you to talk to people who work at the same company as you do, but it seems that they are the only ones who have the information that I need and or can make any changes which would be needed to correct the behavior of wix. All I want is to store a file in AWS and all I need to do that Is the full path name of where that file is located (this information appears in the dialog that the user uses to select the file, so I know its available, I just need it to be stored as one of the attributes for the upload button, where I could display it in a field on the web page (no code) or use it in code such as in an AWS SDK call). If there is any way possible that you could get me the information that I need, I would be very appreciative.
Reynaldo (Wix Support)
April 11, 2019 2:46 PM (UTC-04:00)
Thank you for contacting Wix Technical Support.
We understand that you wish to retrieve the file directory from where users upload their contact from, i.e. C:\Users\Broly\Pictures\GettingCut.jpg . Please post that question within the forum to hear what the community as has to offer. We have a dedicated team of select Wix developers and employees that monitor our Wix Code Forum. As the design of our forum for Wix Code is a community discussion, we encourage members to explore the various posts that exist there to find answers to your inquiries. While we support Wix Code features and components here in the Support center, we are unable to provide support for custom coding.
For your needs, we highly recommend using the Wix Code Forum. The Forum is a community where developers and other Wix users engage in common questions and issues.
Feel free to contact us again if you need any further assistance.
Have a good day.
Reynaldo Wix Support Specialist
Rotem (Wix Support)
April 11, 2019 3:54 AM (UTC-04:00)
Thank you for contacting us.
Your query has been forwarded to the relevant department. They will investigate this matter further and get back to you as soon as possible with more information.
We apologize for the inconvenience and thank you for your patience.
Rotem Wix Customer Solutions Expert
April 10, 2019 9:33 AM (UTC-04:00)
Sorry, but I am not looking for the URL, but the windows file name. When the user selects the file to be uploaded, they go through the directory structure in the windows file system and come up with something like C:\myfiles\thefile.txt. I need to pass C:\myfiles\thefile.txt to AWS in order to store that file in S3. It won’t take a URL only a file name with the complete path. This is available in the dialog used to select the file, how can I get it?
From: Wix Support Sent: Wednesday, April 10, 2019 6:10 AM To: email@example.com Subject: Wix: Your ticket: Need the path name for a file uploaded by theupload button on my web page has been answered