Print Page | Close Window

File upload not working

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=378
Printed Date: 30 March 2026 at 4:36am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: File upload not working
Posted By: traderX
Subject: File upload not working
Date Posted: 21 February 2003 at 7:01am

Hi,

My hosting company supports SoftArtisan's upload component and I've edited the file_upload.asp file. However, when I try to upload a file I get the popup box which says 'please be patient...' and it seems like it's uploading something. After several seconds the 'browse' path in the 'File upload' window  goes blank and nothing is attached to the message.

I've checked the 'uploads' folder but nothing is there. What's the deal?




Replies:
Posted By: WebWiz-Bruce
Date Posted: 21 February 2003 at 9:05am

Are you running beta3?

Also it has been developed with version 3.4.7 of SAfileUp so if your host is running an older version it may not be compatible.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: traderX
Date Posted: 21 February 2003 at 1:18pm

Yep running beta 3.

I think the hosting company is using 3.3, have requested an upgrade...will let you know the outcome.



Posted By: WebWiz-Bruce
Date Posted: 21 February 2003 at 8:31pm

I've been testing again with the new version of SAfileUp which is version 4.01 and all seems to work without a problem, could also to do with settings on the web server.

Try turning off friendly HTTP error messages, opening the window up more and see if you get an error message.



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Phat
Date Posted: 23 February 2003 at 11:41pm

I have an issue with file uploads as below

When i try to upload a file i just get a blank screen. I can upload images no problem but files do not work. I know that the server i am using has version 3.17 of SaFileUp I modified the code in the image upload section to exculed the property shortfilename as it did not support this. NOt sure about the File upload though

Thanks for any Help

James



Posted By: flyarrow
Date Posted: 24 February 2003 at 3:59am

I've met the same question, plz help



Posted By: Phat
Date Posted: 24 February 2003 at 9:02pm

I sorted the blank screen issue I had to reupload the forms. For some reason they did not upload correctly even though they were on the web server.

All is ok now

James

 



Posted By: blokf
Date Posted: 26 February 2003 at 3:26pm
Where can I get SoftArtisan's upload component version 4.01? (I'm running my own intranet with W2K)

-------------
ikke


Posted By: WebWiz-Bruce
Date Posted: 27 February 2003 at 7:16am
http://fileup.softartisans.com/default.aspx?PageID=131 - http://fileup.softartisans.com/default.aspx?PageID=131

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: traderX
Date Posted: 27 February 2003 at 7:47am

My hosting company have informed that the SA upgrade to version 4 is £300 + VAT. They want me to pay the fee.... which obviously I refused to do.

I've requested that they look at installing one of the free components...any other ideas?



Posted By: WebWiz-Bruce
Date Posted: 27 February 2003 at 8:09am

I'm looking at changing the code to make it compatible with version 3.x. Only problem is that I don't have version 3.x to test it with, also if anyone knows any references to the properties of version 3.x then please let me know.

Also is it just the shortfilename property that isn't supported in version 3.x



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 27 February 2003 at 8:12am

Looking at another post on this could you change line 208 of the file functions_upload.asp to the following:-

strNewFileName = Mid(.UserFilename, InstrRev(.UserFilename, "\") + 1)

And let me know if that then allows version 3 of SAfileUP to work?



-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: traderX
Date Posted: 27 February 2003 at 11:00am

Tried the code change Borg....I'm afraid it didn't work. Would appreciate if you would look at tweaking the code to run with SA V3.x as it seems the only way I will be able to use the forum...



Posted By: WebWiz-Bruce
Date Posted: 27 February 2003 at 11:04am
Without having access to version 3 I don't know if I can.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: steve
Date Posted: 27 February 2003 at 11:59am

Until the issue is fixed, you guys can do use this to create an older version compatable upload form.  It's just a basic uploader, so any files can be uploaded. I'll leave it up to you guys to add the file permission code in.

Here we go...

'First File called uploader.asp

<html>  
<head>
<title>UPLOADER</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body bgcolor="#386CA5">
   <form enctype=multipart/form-data method=post action=multipartformrespond.asp>
  <table width="100%" border="0" align="center">
    <tr>
      <td bgcolor="#E4EAF2"><img src= "yourheader.gif">    </tr>
  </table>
  <table width="300" border="0" align="center" bordercolor="#000000">
    <tr>
      <td height="166" bgcolor="#386CA5"><table width="303" border="1" align="center" bordercolor="#000000">
          <tr>
            <td height="149" bgcolor="#E4EAF2"><table>
                <tr>
                  <td height="24">Enter file description:</td>
                  <td><input type=text name=descrip></td>
                </tr>
                <tr>
                  <td>Select file:</td>
                  <td><input type=file name=f1></td>
                </tr>
                <tr>
                  <td><input name="submit" type=submit value="Submit"></td>
                  <td></td>
                </tr>
                <tr>
                  <td colspan="2"><div align="center">
                      <p><font size="2"><br>
    </font></p>
                      </div></td>
                </tr>
              </table> </td>
          </tr>
        </table></td>
    </tr>
  </table>
  </form>
</body>
</html>

-------------------------------

'Second File called multipartformrespond.asp

<HTML><HEAD>
<TITLE>Multi Part Forum Respond</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></HEAD><BODY bgcolor="#386CA5">
<table width="100%" border="0" align="center">
  <tr>
    <td bgcolor="#E4EAF2"></td>
  </tr>
</table>
<table width="382" border="0" align="center" bordercolor="#000000">
  <tr>
    <td width="376" height="176" bgcolor="#386CA5"><table width="100%" border="1" align="center" bordercolor="#000000">
        <tr>
          <td height="69" bgcolor="#E4EAF2">Thank you for uploading your file.<br>
            <br>
            <font size="2">
            <%
Set upl = Server.CreateObject("SoftArtisans.FileUp")
'what you are doing here is defining the path to where the uploaded file will be saved.  You can change this to where you want them to go.
upl.Path = Server.Mappath ("/upload") & "/" & "files"
upl.Save
strFilename = Mid(upl.UserFilename, InstrRev(upl.UserFilename, "\") + 1)%>
            File name:<br>
            Insert the path to your upload folder here/<%=strFilename%><br>
            <br>
            File description: <%=upl.form("descrip")%> </font></td>
        </tr>
      </table>
      <br>
      <font color="#FFFFFF" size="2"><strong>Cut &amp; Paste the filename into the &quot;Insert
      Image&quot; field in your post.</strong></font></td>
  </tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</BODY></HTML>

 

Remember this will only work if our host is using SA Fileup as it's upload component. Good Luck!



Posted By: traderX
Date Posted: 19 March 2003 at 4:14am

Hi Borg,

The hosting provider has upgraded to SA 3.4.7 but I am still getting the same problem: after selecting the file and pressing upload the file path goes blank and nothing happens. I've uploaded the complete forum again but to no avail. Check it out:

http://odette.xhostcustomers.co.uk/forum - http://odette.xhostcustomers.co.uk/forum



Posted By: WebWiz-Bruce
Date Posted: 19 March 2003 at 4:36am
I don't have version 3 and can't get version 3 anymore as it is obsolete and so have no-way of testing it to beable to make it run with version 3.x of SaFileUp

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: traderX
Date Posted: 19 March 2003 at 4:57am
Fair enough, but you said further up on the thread that the forum was developed with SA3.4.7. So in theory shouldn't this work anyway?


Posted By: WebWiz-Bruce
Date Posted: 19 March 2003 at 4:59am
No that was a typo it was version 4

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net