Re手把手教你搭建自己的OSSFTP服务器
http://storage.aliyun.com 已经改为
http://oss.aliyuncs.com了,文件夹不能进入!!!在哪修改请求的域名?
下面是报错信息:
[ INFO] 2013-12-22 11:37:25,050 [EqktIjX52BUcmQHx] [127.0.0.1] Received error response: Status Code: 403, AOS ServiceName: null, AOS RequestID: 52B65E2C37106D0A6A4D6A82, AOS ErrorCode:AccessDenied, AOS ErrorMessage:Your host cannot contain 'storage.aliyun.com', please replace it with 'oss.aliyuncs.com'.
Status Code: 403, AOS ServiceName: AliyunOSS, AOS RequestID: 52B65E2C37106D0A6A4D6A82, AOS ErrorCode:AccessDenied, AOS ErrorMessage:Your host cannot contain 'storage.aliyun.com', please replace it with 'oss.aliyuncs.com'.
at com.aliyun.aos.http.AOSHttpClient.handleErrorResponse(AOSHttpClient.java:323)
at com.aliyun.aos.http.AOSHttpClient.executeHelper(AOSHttpClient.java:160)
at com.aliyun.aos.http.AOSHttpClient.execute(AOSHttpClient.java:78)
at com.aliyun.aos.services.oss.OSSClientImpl.invoke(OSSClientImpl.java:733)
at com.aliyun.aos.services.oss.OSSClientImpl.invoke(OSSClientImpl.java:704)
at com.aliyun.aos.services.oss.OSSClientImpl.listObjects(OSSClientImpl.java:167)
at com.aliyun.aos.services.oss.OSSClientImpl.listAllObjects(OSSClientImpl.java:141)
at oss.aliyun.oss.ftp.filesystem.OSSFile.listDir(OSSFile.java:399)
at oss.aliyun.oss.ftp.filesystem.OSSFile.listFiles(OSSFile.java:261)
at oss.aliyun.oss.ftp.filesystem.OSSFileSystemView.changeWorkingDirectory(OSSFileSystemView.java:46)
at org.apache.ftpserver.command.impl.CWD.execute(CWD.java:72)
at org.apache.ftpserver.impl.DefaultFtpHandler.messageReceived(DefaultFtpHandler.java:211)
at org.apache.ftpserver.listener.nio.FtpHandlerAdapter.messageReceived(FtpHandlerAdapter.java:62)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at org.apache.ftpserver.listener.nio.FtpLoggingFilter.messageReceived(FtpLoggingFilter.java:85)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:75)
at org.apache.mina.filter.logging.MdcInjectionFilter.filter(MdcInjectionFilter.java:136)
at org.apache.mina.filter.util.CommonEventFilter.messageReceived(CommonEventFilter.java:70)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:75)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(OrderedThreadPoolExecutor.java:780)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(OrderedThreadPoolExecutor.java:772)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThreadPoolExecutor.java:714)
at java.lang.Thread.run(Thread.java:619)
[ INFO] 2013-12-22 11:37:25,065 [EqktIjX52BUcmQHx] [127.0.0.1] SENT: 550 No such directory.