Wappler Version : 7.0.0 b20
Operating System : Windows
Server Model: Windows Server
Database Type: MariaDB
Hosting Type: Own Server
Expected behavior
What do you think should happen?
I should be able to publish to remote, or upload inidividual files
Actual behavior
What actually happens?
FTP or Publish command resuts in the following error: mput: Access failed: 550 The process cannot access the file because it is being used by another process. (views/index.ejs)
Additionally, 'Test connection' fails in the Project Options' menu item with the following error: 550 The process cannot access the file because it is being used by another process. mput: Access failed: 550 The process cannot access the file because it is being used by another process. (__wappler_ftp_test__.htm)
How to reproduce
Select an individual file to upload in Project Folder files manager, or select the 'Publish' button to publish entire site.
This was later tested using all the same connection details but using Wappler 6.8 stable, with no errors seen. I was able to FTP and publish to the server.
Hi Brian, I'm back!! Been away for a while, thought Id get up to speed on the new Betas but got stalled at the first hurdle.
thanks for pitching in, its a fresh install on a brand new site. Its on a test domain that was set up with a test website using 6.8 stable. I tried to edit the site using 7b18 and came across the above.
So.... I completely wiped the existing test site then made a new project using V7b18 - Still got the same issue. Upgraded to V7b20 and still the same problem.
Funny thing it, when I try it on 6.8 stable it all works as it should. It seems like V7 is handinling FTP in a different way.
Hmmm, I have no problem at all publishing with FTP on beta 20.
You most likely are, but are you completely shutting down 6.8.0 before starting the beta? Just trying to think what could possibly be wrong in your case.
Yes, I'm doing a clean start every time, the only logs I can see are the in the FTP 'test connection' option.
This file __wappler_ftp_test__.htm appears in the httpdocs folder at the start of the test, when the test fails, and I click 'close' the file is then removed. So, files are being transferred into the server and removed again. I've checked all permissions and all is well.
When I try to publish, the only errors I'm getting is the 'publish failed' error which doesnt give any info at all.
The 'Test FTP connection' output is:
---- Resolving host address...
---- IPv6 is not supported or configured
---- 1 address found: xxx.xxx.xxx.xxx
---- Connecting to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 21
<--- 220 Microsoft FTP Service
---> FEAT
<--- 211-Extended features supported:
<--- LANG EN*
<--- UTF8
<--- AUTH TLS;TLS-C;SSL;TLS-P;
<--- PBSZ
<--- PROT C;P;
<--- CCC
<--- HOST
<--- SIZE
<--- MDTM
<--- REST STREAM
<--- 211 END
---> LANG
<--- 200 Language is now English, UTF-8 encoding.
---> OPTS UTF8 ON
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
---> HOST xxx.xxx.xxx.xxx
<--- 504 Server cannot accept argument.
---> USER **user**
<--- 331 Password required
---> PASS **pass**
<--- 230 User logged in.
---> PWD
<--- 257 "/" is current directory.
---- CWD path to be sent is `/httpdocs'
---> CWD httpdocs
<--- 250 CWD command successful.
cd ok, cwd=/httpdocs
---> PORT xxx,xxx,xxx,xxx,200,199
---> LIST -a
<--- 200 PORT command successful.
<--- 150 Opening ASCII mode data connection.
---- Accepted data connection from (xxx.xxx.xxx.xxx) port 20
---- Got EOF on data connection
---- Closing data socket
<--- 226 Transfer complete.
03-07-25 03:40PM 142 .dockerignore
03-07-25 03:40PM 30 .npmrc
03-08-25 01:07PM <DIR> app
03-08-25 01:24PM 58 **mysite.com**
03-07-25 03:40PM <DIR> lib
03-07-25 04:04PM <DIR> node_modules
03-07-25 04:04PM 116746 **mysite.com**
03-07-25 03:40PM 1128 **mysite.com**
03-07-25 03:40PM <DIR> public
03-08-25 01:18PM <DIR> tmp
03-08-25 01:18PM <DIR> views
03-08-25 01:16PM 1187 web.config
03-08-25 01:09PM 1369 webBAK.config
03-08-25 01:18PM 0 **mysite.com**
---> TYPE I
---> PORT xxx,xxx,xxx,xxx,200,200
---> STOR **mysite.com**
<--- 200 Type set to I.
<--- 501 Server cannot accept argument.
---- Switching passive mode on
---> ABOR
---- Closing aborted data socket
---- Closing control socket
---- Connecting to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 21
---> FEAT
<--- 220 Microsoft FTP Service
<--- 211-Extended features supported:
<--- LANG EN*
<--- UTF8
<--- AUTH TLS;TLS-C;SSL;TLS-P;
<--- PBSZ
<--- PROT C;P;
<--- CCC
<--- HOST
<--- SIZE
<--- MDTM
<--- REST STREAM
<--- 211 END
---> LANG
---> OPTS UTF8 ON
---> HOST 85.13.226.238
---> USER **user**
<--- 200 Language is now English, UTF-8 encoding.
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
<--- 504 Server cannot accept argument.
<--- 331 Password required
---> PASS **pass**
---- CWD path to be sent is `/httpdocs'
---> CWD httpdocs
<--- 230 User logged in.
<--- 250 CWD command successful.
---> TYPE I
---> PASV
---> STOR **mysite.com**
<--- 200 Type set to I.
<--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,217,146).
<--- 150 Opening BINARY mode data connection.
---- Connecting data socket to (xxx.xxx.xxx.xxx) port 55698
**** Timeout - reconnecting
---- Closing data socket
---- Closing control socket
---- Connecting to xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) port 21
---> FEAT
<--- 220 Microsoft FTP Service
<--- 211-Extended features supported:
<--- LANG EN*
<--- UTF8
<--- AUTH TLS;TLS-C;SSL;TLS-P;
<--- PBSZ
<--- PROT C;P;
<--- CCC
<--- HOST
<--- SIZE
<--- MDTM
<--- REST STREAM
<--- 211 END
---> LANG
---> OPTS UTF8 ON
---> HOST 85.13.226.238
---> USER **user**
<--- 200 Language is now English, UTF-8 encoding.
<--- 200 OPTS UTF8 command successful - UTF8 encoding now ON.
<--- 504 Server cannot accept argument.
<--- 331 Password required
---> PASS **pass**
---- CWD path to be sent is `/httpdocs'
---> CWD httpdocs
<--- 230 User logged in.
<--- 250 CWD command successful.
---> TYPE I
---> PASV
---> STOR **mysite.com**
<--- 200 Type set to I.
<--- 227 Entering Passive Mode (xxx,xxx,xxx,xxx,217,154).
<--- 550 The process cannot access the file because it is being used by another process.
mput: Access failed: 550 The process cannot access the file because it is being used by another process. (__wappler_ftp_test__.htm)
---- Closing data socket
---> QUIT
+ set color:use-color yes
+ set cmd:interactive yes
+ set file:charset utf-8
+ set xfer:clobber on
+ set ftp:timezone
+ set cmd:show-status yes
+ set cmd:set-term-status yes
+ set ftp:list-options -a
+ set cmd:fail-exit yes
+ set cmd:time-style "%Y-%m-%d %H:%M:%S"
+ set ftp:passive-mode no
+ set ftp:ssl-allow no
+ set ssl:verify-certificate no
+ set net:max-retries 3
+ set net:timeout 20
+ set net:reconnect-interval-base 5
+ set net:reconnect-interval-multiplier 1
+ open -u **user**,**pass** ftp://xxx.xxx.xxx.xxx
+ cd httpdocs
+ set ftp:sync-mode off
+ set ftp:use-feat yes
+ set ftp:use-mdtm yes
+ set net:socket-buffer 32768
+ set xfer:parallel 4
+ set xfer:disk-full-fatal yes
+ set xfer:eta-period 1
+ ls
+ mput -d **mysite.com**
<--- 221 Goodbye.
---- Closing control socket
It all works perfectly on 6.8 stable, if it was anyting on the server side, it would affect both versions wouldnt it?
Ive tried this on existing websites (created with 6.8 stable) , I've also created a new, test website on the server with V7 b20 from scratch and the same thing happens. Its something in b18-b20 thats causing this.
Well the FTP functionality hasn't changed at all between Wappler 6.8 and 7
Also we can't reproduce the problem - ftp upload and download as well testing connection, works just fine for us in Wappler 7, just like for other users.
So there must be something at your end that is different.
I've tried everything, and spent a good couple of days on this. It's a standard Windows server installation so I guess I'll have to wait until someone running the same set up starts having issues. For me though, W7 b20 is unusable for the time being.
Are you running the Wappler app on a Windows Server? Not just regular Windows 11 or so? Why server and what version is it? Because some old versions needed a hotfix exactly for this problem.