Upload image file to another server,have error.

Last post 07-04-2012, 7:38 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  07-03-2012, 11:26 PM 74070

    Upload image file to another server,have error.

    I have set virtual path "/WebsitesNew" point to " //192.168.138.21/home"
    I set the editor setting is :
      Editor1.SetSecurityImageGalleryPath("/WebsitesNew/");
    when  i click the upaload to image gallery,I get following error message. where  can i set username and password
     
     I get error is:
    [IOException: Login fail: Unknown user or passord。 ]    System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10546213    System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) +2134    System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption) +48    System.IO.Directory.GetDirectories(String path) +22    CuteEditor.Impl.FileSystemStorage.GetDirectoryItems(String dirpath, Boolean getcount) +83    CuteEditor.Dialogs.InsertGalleryFrame.a() +755    System.Web.UI.Control.LoadRecursive() +66    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428 

     
  •  07-04-2012, 7:38 AM 74071 in reply to 74070

    Re: Upload image file to another server,have error.

    Hi oksummer,
     
    should be
     
    Editor1.SetSecurityImageGalleryPath("~/WebsitesNew");  
     
    Regards,
     
    Ken 
View as RSS news feed in XML