HTML5 File Upload Support Product Page
Solved
Multiple upload problem on remote server
Reported 23 Jan 2018 13:35:53
1
has this problem
23 Jan 2018 13:35:53 MX Addict posted:
Hi Teodor,I did create a multiple image upload page in Server Connect. On my local server it works fine. But now try to upload images on remote server I get an error and images won't upload.
I use:
Server connect with Insert Database and Image processor
{type: "Error", fileName: "modules/upload.asp", lineNumber: 98,…} appData : {} fileName : "modules/upload.asp" lineNumber : 98 message : "'fields.isFile' is null or not an object" stack : [{fileName: "lib/core/response.asp", lineNumber: 180, method: "error",…},…] 0 : {fileName: "lib/core/response.asp", lineNumber: 180, method: "error",…} args : [{type: "TypeError", fileName: "modules/upload.asp", lineNumber: 98, errorNumber: -2146823281,…}] fileName : "lib/core/response.asp" lineNumber : 180 method : "error" 1 : {fileName: "lib/app.asp", lineNumber: 86, method: "_exec",…} args : [["Connections/Test", {name: "upload1", module: "upload", action: "upload",…},…]] fileName : "lib/app.asp" lineNumber : 86 method : "_exec" 2 : {fileName: "lib/app.asp", lineNumber: 60, method: "exec",…} args : [{steps: ["Connections/Test", {name: "upload1", module: "upload", action: "upload",…},…]}] fileName : "lib/app.asp" lineNumber : 60 method : "exec" 3 : {fileName: "lib/app.asp", lineNumber: 45, method: "define",…} args : [{meta: {options: {linkedFile: "test.asp", linkedForm: "dropzone1"},…},…}] fileName : "lib/app.asp" lineNumber : 45 method : "define" type : "Error"
Replies
Replied 23 Jan 2018 13:38:15
23 Jan 2018 13:38:15 Teodor Kuduschiev replied:
Hello,
Have you checked the write permissions on your remote server - for both the temp and upload folders?
Have you checked the write permissions on your remote server - for both the temp and upload folders?
Replied 23 Jan 2018 15:47:48
23 Jan 2018 15:47:48 MX Addict replied:
Hi Teodor,
Do I need a folder temp in the wwwroot on the remote server?
Do I need a folder temp in the wwwroot on the remote server?
Replied 23 Jan 2018 15:59:43
23 Jan 2018 15:59:43 Teodor Kuduschiev replied:
Well, it needs to be a writable folder on your server. You can try in the wwwroot folder as well ...
Replied 23 Jan 2018 16:17:49
23 Jan 2018 16:17:49 MX Addict replied:
I have a temp folder with read/write permission in the wwwroot. Still getting errors as I earlier mentioned.
In the config page:
Do I need a absolute path to the temp folder or is /temp enough????
In the config page:
<script runat="server" language="jscript"> exports.DEBUG = true; exports.TEMP_FOLDER = '/temp'; exports.SECRET_KEY = 'npRucrMeZhGc3fh'; </script>
Do I need a absolute path to the temp folder or is /temp enough????
Replied 23 Jan 2018 16:21:44
23 Jan 2018 16:21:44 MX Addict replied:
Also in my API file:
var TEMP_FOLDER = '/temp'; var SCRIPT_TIMEOUT = '300';
Replied 23 Jan 2018 16:52:09
23 Jan 2018 16:52:09 Teodor Kuduschiev replied:
Browse to your temp folder, using server connect UI and it will generate the right path for you.
Replied 24 Jan 2018 09:00:04
24 Jan 2018 09:00:04 MX Addict replied:
Hi Teodor,
Did several things: Both work local but doesn't remote
Global Settings
Temp folder: /temp
and
Temp folder: D:\\Inetpub\\Users\\[domain]\\[url]\\wwwroot\\temp\\
but none of them work still 500 error
send you a email
Did several things: Both work local but doesn't remote
Global Settings
Temp folder: /temp
and
Temp folder: D:\\Inetpub\\Users\\[domain]\\[url]\\wwwroot\\temp\\
but none of them work still 500 error
send you a email
Replied 24 Jan 2018 14:22:06
24 Jan 2018 14:22:06 Teodor Kuduschiev replied:
Hello,
We've checked your page and there is a 301 Moved Permanently status when posting the data.
You have some redirects on the server, which break the server action. Please check this with your server admins - why is there a redirect?
We've checked your page and there is a 301 Moved Permanently status when posting the data.
You have some redirects on the server, which break the server action. Please check this with your server admins - why is there a redirect?
Replied 24 Jan 2018 14:46:51
24 Jan 2018 14:46:51 MX Addict replied:
Hi Teodor,
I disabled the web.config file. Now the uploading works fine. I gonna check what the problem in the file cause.
On my local I have the web.config file disabled. That's why on local the uploading works.
Many thanks.
I disabled the web.config file. Now the uploading works fine. I gonna check what the problem in the file cause.
On my local I have the web.config file disabled. That's why on local the uploading works.
Many thanks.
Replied 24 Jan 2018 14:55:22
24 Jan 2018 14:55:22 MX Addict replied:
By the way the web.config contains url rewrite for IIS. For somehow this must cause the problem
This rule caused the problem:
Single file upload works. Multiple files uploading give still error
This rule caused the problem:
<rule name="LowerCaseRule" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <action type="Redirect" url="{ToLower:{URL}}" /> </rule>
Single file upload works. Multiple files uploading give still error
Replied 25 Jan 2018 10:41:00
25 Jan 2018 10:41:00 MX Addict replied:
Hi Teodor,
Still having problems with uploading multiple images to remote server with step File Move. (error: File already exists).
If I use another step like filerename multiple uploading works fine.
NB. I have disabled the web.config file
Are there still 301. I can't find it out
Still having problems with uploading multiple images to remote server with step File Move. (error: File already exists).
If I use another step like filerename multiple uploading works fine.
NB. I have disabled the web.config file
Are there still 301. I can't find it out