NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Editor file save problem


Joined: 13 Dec 2024
Posts: 2
Location: Norway
Reply with quote
I am using a remote server ftp connection.
When I do ctrl-S in the program editor to save a js file I ALWAYS get a popup warning and when I close it all the text is gone and the server side js file is empty.
The same thing happends occationally for php files.
PhpED is obviously sending an empty file to the remote server while trashing it on the client side.

So now i have to upload my files using the server side cpanel filemanager.

Is there a solution to this ?
View user's profileFind all posts by Nils Chr.SvihusSend private message


Joined: 13 Dec 2024
Posts: 2
Location: Norway
Reply with quote
the warning is:

Failed to upload file <local filepath> to <remote filepath>
Error during read from data connection
Transfer aborted
View user's profileFind all posts by Nils Chr.SvihusSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8351
Reply with quote
FTP uses two types of connections: control and data. When you download or update a file, the data connection handles the transfer, while the control connection manages commands, such as creating or deleting files.
If the command has been passed through and the file has been successfully re-created as a part of upload operation but no data is sent over the data connection, the file will remain empty.

Regarding the data connection, it can either be established by the client to the server (passive mode) or initiated by the server back to the client (active mode).

Here are my recommendations:
a) Try switching to passive mode to see if it resolves the issue.
b) Check your router’s NAT table. If the table is nearing its limit—perhaps due to too many open TCP connections—it might drop active connections.
c) Review your antivirus and firewall logs. These tools might block or close the connection, assuming it’s undesired.
d) Consider switching to SSH/SFTP, a more reliable and secure protocol than FTP.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Editor file save problem
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic