我使用的fck编辑器,能够上传图片,上传的图片路径是:
/zgnzsz2/fckeditor/editor/filemanager/connectors/aspx/Files/image/anniu(1).jpg
   但是fck没有自动创建“Files”文件夹。
这是我的配置:
web.config
<add key="FCKeditor:BasePath" value="~/fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="Files/" />
config.ascx
public override void SetConfig()
{
// SECURITY: You must explicitly enable this "connector". (Set it to "true").
Enabled = CheckAuthentication(); // URL path to user files.
        UserFilesPath = "Files/"; // The connector tries to resolve the above UserFilesPath automatically.
// Use the following setting it you prefer to explicitely specify the
// absolute path. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' URL must point to the same directory.
UserFilesAbsolutePath = "/Files/"; // Due to security issues with Apache modules, it is recommended to leave the
// following setting enabled.
ForceSingleExtension = true;