This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 109764 [details] screenshot Steps to reproduce: - create new php project from remote server (sftp) - change some file, save it (upload is set to "On Save") - wait 6-10minutes - edit the file again and save it, during uploading this dialog is shown "Upload files on save failed (more information in IDE log). Disable this functionality for PROJECTNAME for this session?" The log says: INFO [org.netbeans.modules.php.project.copysupport.RemoteOperationFactory]: Upload failed: org.netbeans.modules.php.project.connections.transfer.TransferInfo [transfered: [], failed: {LocalTransferFile[name: index.php, remotePath: index.php, baseDirectory: C:\xampp\htdocs3\PhpProject25, hasParent: false, isFile: true, isDirectory: false, isLink: false]=Reason: Cannot change to the remote directory /.}, partially failed: {}, ignored: {}, runtime: 31 ms] I attached screen from run configuration and from Manage remote connections
Since I cannot reproduce myself, could you please start NB with -J-Dorg.netbeans.modules.php.project.connections.level=FINE reopen this issue and attach your IDE log? Thanks a lot.
Created attachment 109768 [details] log with -J-Dorg.netbeans.modules.php.project.connections.level=FINE Here's the second log. I'm not sure what does it say, but I tried other SFTP server and I wasn't able to reproduce it, so it's possible that the problem is caused by some bug in the first server.
(In reply to comment #2) > I tried other SFTP server and I wasn't able to reproduce it The same for me - would it be possible to try the previous SFTP server? If yes, please reopen this issue and attach IDE log with finer logging enabled. Thanks a lot.
I'm sorry I didn't write it clearly. The log from commen #2 is from the first, not working correctly, server. After that I tried some other just to be sure (and from this working one I didn't attached log)
So, it seems that it was a problem of the server, from the log: FINE [org.netbeans.modules.php.project.connections.sftp.SftpClient]: Error while changing directory / java.io.IOException: Pipe closed So it seems that the server closed the current session? Anyway, closing as WORKSFORME since it really seems that the fault was on the side of your SFTP server. Thanks.