Elements - Upload File(s) |
Post Reply |
Author | |
RWBB
Newbie Joined: Mar 14 2014 Location: Canada Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: Mar 14 2014 at 12:51am |
I would like to use the "Upload File(s)" element. After dragging it onto the page, setting the properties, and then testing it, I would like to know where the file selected is uploaded to.
Can I designate a particular sub-folder? How? Can I rename the file from data input by the user?
|
|
Tom L
|
|
Chris OE
Admin Group Joined: Jan 22 2013 Location: New York Status: Offline Points: 186 |
Post Options
Thanks(0)
|
Hi Tom,
Thanks for downloading openElement and joining us on the forum. In the ribbon menu, under Project, you can open the Preferences menu. In the publishing tab, you can specify an Upload folder (default is "Upload"). Not sure there's an option to rename user-uploaded files, but you may be able to find a script online that does just that. If you find out and you need help integrating the script, give us a shout! Cheers!
|
|
RWBB
Newbie Joined: Mar 14 2014 Location: Canada Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Chris,
OK, I verified that "Upload" was specified as the upload folder and published my test page to my server. The "Publish to Web" worked fine. I tried the web page and selected a file to upload. I was able to browse my folders and select a file. That is as far as things went. There was no upload action. Checking the site with an FTP program I verified all the components of the page appeared to be uploaded. There was no "Upload" folder created. A search did not find the file I tried to upload or the folder "Upload" anywhere on the site. I tried again where I manually created a folder named "Upload" in the folder containing my page code. No luck. Any suggestions? |
|
Tom L
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
Hi,
I think you need to use Submit Form element and use your Upload File field with it. In the smallest form, you would need a Submit button, UploadFile field and SubmitForm "masked" element. As a SubmitForm target you can specify the same page. Please tell if it works. Good day D Edited by Chris OE - Mar 14 2014 at 6:39pm |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |