Link to home
Start Free TrialLog in
Avatar of adamdrayer
adamdrayerFlag for United States of America

asked on

'File Upload' Form Field -hosted

When I include a "File Upload" field on a webpage, it prompts me for the FTP username and password on submit.  I would like people to be able to submit files without giving them ftp access.  Is this possible?
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

How are you coding it?  Are you submitting to you FTP site?

Cd&
Avatar of adamdrayer

ASKER

<form method="POST" action="--WEBBOT-SELF--" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1" enctype="multipart/form-data">
        <!--webbot bot="FileUpload" s-email-format="TEXT/PRE" s-email-address="xxx@xxx" b-email-label-fields="TRUE" b-email-replyto-from-field="TRUE" s-email-replyto="xxx@xxx" b-email-subject-from-field="FALSE" s-email-subject="Job Application" s-builtin-fields u-confirmation-url="Thanks.html" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="FileUpload" endspan i-checksum="43374" --><p>



and then lower down:
<p>Upload Resume <input type="file" name="F1" size="20"></p>
Avatar of seanpowell
I assume you're running the 2002 server extensions on your site?
yes.  The form submits fine when I use textboxes and drop-downs...  When I try to use a "file upload" field, the submit button produces a ftp login, presumably because i am trying to transmit a file.
SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My fault - I spend so much time in both areas I didn't even notice this was HTML. Adam - do you mind if we move this to the FP TA for you?
I don't mind at all
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well some updates now... I followed some instructions I found and created a new directory.  I'm pretty sure I gave all the correct privelidges, and now the error I am getting is "Form validation error.  Cannot open file Filename.xxx for writing", so I logged into the admin control panel for our website and gave everyone read/write/delete access for this particular directory that the files should be uploading to.  Still no luck...


ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Got it fixed.  It was a combination of things.. I'll explain later when I get home, got a train to catch.

Here's what happened.  For some reason, the "browsers" in my frontpage extensions weren't given the "browse" rule.  On top of that although I had given the browsers Read/Write/Delete access in my webhoster's admin panel, there was a hidden section in "Applications Settings" that had "browsing" disabled.

Everything works great now, and I will increase and split the points.
I'm not sure I deserve any points here.  I don't think I contributed anything towards a solution.

Cd&
Someone's up early...

I concur - I think Corey was on the right track here - anyone mind if I remove the points from Cd& and myself?
Plus if Cd& gets too mainy points in this TA, they'll think he's gone over to the dark side :-)
LOL..   Well he did help some - he did move it to the FP TA.  :)  

-Corey
Actually Sean moved it.  I just made the suggestion.  Points to Corey works for me.  My cave has too many points cluttering it up already. ;^)

Cd&
Okay - I'll just wait for a confirmation from Adam.

See what happens wehn you get 3 Page Editors in the same thread?
Ah OK.   Well you did let him now there was a FP TA, CD&.  (Hey I am trying to help some)  :)

-Corey
yes, COBOLdinosaur(which btw, is an oxymoron) helped me get it into the right thread, and sean emailed somone to come take a look.  I was misinformed and underinformed so I think it would have been hard to troubleshoot for anyone.  Take the #$%! points, will ya?  

See, at least someone agrees with me! LOL

-Corey
Fine - I'm off for a beer anyways :-)

Thanks Adam, and best of luck with your project.
Sean
Glad we could help.  I'll buy beer with my points. :^)

Cd&