Form Builder on Windows server file...

User 188698 Photo


Registered User
5 posts

Hi, I am using Form Builder and love it.
I have one of my clients sites hosted on a Windows server and have had the latest version of PHP installed and the form works great. The problem is when we have a file upload, we don't get the file (have even tried very small ones).
The form results come in fine, redirect to a thank you page works fine, just no file attachment.
I have talked with the hosting company and they are not sure what else needs changed for this feature to work. Any help that I can send their way would be great.
User 103173 Photo


VP of Software Development
0 posts

Since you are on a Windows server, did you modify the permissions on the Storage folder to have read/write/inherit permissions?
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 188698 Photo


Registered User
5 posts

Hi Scott, I sent what you stated above to the hosting company (I don't know anything about PHP) and here is what they sent back to me.

I double checked the permissions and even ran a test by giving everyone full control over the folder and the test still failed. Which tells me it is not a permissions error, I also found a config file in there that I edited to work with your server but that still did not allow the file to be uploaded. I have checked the server error logs and nothing gives an error when submitting the form and looks to work ok except files does not get uploaded.

Is there some way you can help me out here? The form(s) work great except for the file upload.
Thanks, Mike
User 103173 Photo


VP of Software Development
0 posts

Michael Gross wrote:
Hi Scott, I sent what you stated above to the hosting company (I don't know anything about PHP) and here is what they sent back to me.

I double checked the permissions and even ran a test by giving everyone full control over the folder and the test still failed. Which tells me it is not a permissions error, I also found a config file in there that I edited to work with your server but that still did not allow the file to be uploaded. I have checked the server error logs and nothing gives an error when submitting the form and looks to work ok except files does not get uploaded.

Is there some way you can help me out here? The form(s) work great except for the file upload.
Thanks, Mike

Unfortunately there wouldn't really be anything we can do here as you are on a Windows server. If you were on a Linux server, we could log into the server from here and check the permissions out.

Have you thought about dumping Windows and moving to Linux if your hosting company cannot figure this out for you/
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2305196 Photo


Registered User
9 posts

Hi so i've been searching the forum and so its clear webform builder doesnt work on windows servers. But i have found on several posts that you say you can edit the php so that the windows server will accept the email function and make the form work, as well as changing the source (?) file on the server for uploading files. Sooo...

My question is: Is there a successful workaround for publishing the webform builder on a Windows server? And if so, can we have a complete instruction page on how to do that? In like baby terms lol I read the Manual SMTP editing page you have
http://www.coffeecup.com/help/articles/how-to-manually-confirm-your-smtp-settings-for-web-form-builder/
but I am still trying to figure out which part of the "Godaddy" code I need to change to make it work. I know its the server address part but do I put my server address, do I keep that gmail.com one that's there, i dunno? I'm currently doing trial and error and process of elimination with those options.

I would use S-drive but honestly I don't have the money to pay any more monthly fees for anything, (broke, in debt, on a super strict sad budget lol) plus since my company's website is the one on Windows they're not going to agree to pay for anything. So I'm back to making this thing work one way or another.

Help please :D
User 103173 Photo


VP of Software Development
0 posts

Form Builder will work perfectly on a Windows server if it meets the minimum requirements. The only thing you typically have to do manually is customize the SMTP settings as sendmail is not part of Windows.

Unfortunately with SMTP settings, they are unique to every server. Some just require just a server name to be defined and others may require a username and password. This is something your hosting provider with give you or you sort of have to do a trial and error to figure what combinations work. I have yet to see a server where it will not work on. You just need to get that info. ;)
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2305196 Photo


Registered User
9 posts

oh ok awesome that saves me a lot of time and trouble. thanks for the quick reply and excellent customer service!
User 2305196 Photo


Registered User
9 posts

ok sorry to bother but I was able to get the form working with the windows server, and it sucessfully sent the form contents to my company email but it was not able to send the copy of the form contents to the sender's email. I got the following error:
Your form could not be submitted for the following reason(s):
Failed to record the data because the server is too busy or doesn't have write permission.
SMTP Error: The following recipients failed: xxxxxxx@hotmail.com<p>SMTP server error: 5.7.1 Unable to relay </p>


What part of the code in the user.cfg file refers to the relay action? I didn't see any, but I might be wrong. Or is that on another file somewhere?
User 103173 Photo


VP of Software Development
0 posts

That probably has to do with permissions of the Storage folder. That folder needs to have read/write/inherit permissions.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.