Hi,
Again the following can be concidered as improvement and minor.
Assume I'm the most stupid user that just acquired hosting package and I've never seen control panel before. I decided to make a copy of some file (e.g. myCar.jpg) in the same directory using File Manager.
So I click checkbox next to the file, click Copy and in the destination box I choose Root Folder. I want that file to appear in the same folder (Root Folder) but with different name, so in the destination to \ (backslash) I add myLovelyCar.jpg, so we get \myLovelyCar.jpg
I click Copy and... Boom! Exception. Why is that? I used to do it in the Windows Explorer and I get "Copy of (X)..." file?!?
Yes, guys, this is OK for us or educated resellers, but majority of users start dialing your support phone number at this point.
The same happens for folders and event file/folders if you copy to different destination. I think File Explorer behaviour should be as close as possible to the Windows Explorer behaviour.
My system is Windows Server 2003 SE SP2, DNP v2.8.2.
Exception:
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.Exception: Error executing 'COPY_FILES'
task on '' FILES ---> System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> System.IO.DirectoryNotFoundException: Could
not find a part of the path
'R:\test.account\account.test_tsnT3^x\wwwroot\index2.html\index.html'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
at DotNetPanel.Providers.Utils.FileUtils.CopyFile(String sourcePath, String destinationPath)
at DotNetPanel.Providers.OS.Windows2003.CopyFile(String sourcePath, String destinationPath)
at DotNetPanel.Server.OperatingSystem.CopyFile(String sourcePath, String destinationPath)
--- End of inner exception stack trace ---
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
at DotNetPanel.Providers.OS.OperatingSystem.CopyFile(String sourcePath, String destinationPath)
at DotNetPanel.EnterpriseServer.FilesController.CopyFiles(Int32 packageId, String[ files, String destFolder)
--- End of inner exception stack trace ---
at DotNetPanel.EnterpriseServer.FilesController.CopyFiles(Int32 packageId, String[ files, String destFolder)
at DotNetPanel.EnterpriseServer.esFiles.CopyFiles(Int32 packageId, String[ files, String destFolder)
--- End of inner exception stack trace ---
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters)
at DotNetPanel.EnterpriseServer.esFiles.CopyFiles(Int32 packageId, String[ files, String destFolder)
at DotNetPanel.Portal.FileManager.btnCopy_Click(Object sender, EventArgs e)