Jump to content

Recommended Posts

Posted

Hi Nick

 

Recently upgraded to v7.9 and have just tested to see if it fixed our ampersand issues. Still not quite there I'm afraid:

 

Silverlight uploader

 

Uploading "Test & File.txt" to N:\ works, but saves it as "Test ^ File.txt"

 

Uploading test.txt to N:\Test & Folder\ works

 

HTML uploader

 

Uploading "Test & File.txt" to N:\ works, and it saves with the correct name.

 

But, uploading any file to N:\Test ^ test\ fails:

 

Server Error in '/extranet-7.9' Application.

--------------------------------------------------------------------------------

 

Could not find a part of the path '\\server3\jgoss$\Test ^ test\cas_writers.txt'.

 

[DirectoryNotFoundException: Could not find a part of the path '\\server3\jgoss$\Test ^ test\cas_writers.txt'.]

System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +224

System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +1142

System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +78

System.IO.FileStream..ctor(String path, FileMode mode) +71

System.Web.HttpPostedFile.SaveAs(String filename) +99

HAP.Web.UploadH.uploadbtn_Click(Object sender, EventArgs e) +453

System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118

System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112

System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean

 

Cheers

 

John

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...