有什么奇怪的
java就是大小写敏感的,文件名大小写不对就不行了

解决方案 »

  1.   

    同志们,给我一个象样的理由吧我测试的FTP服务器的操作系统是 NT4.0哪儿有这方面的标准,测试的结果我是不太相信的,我还以为是不是我什么参数用错了呢
      

  2.   

    如果用的是IIS的话,我记得在FTP服务器属性叶里面有一个控制FTP显示风格的选项,可以选择用MS-DOS风格还是UNIX风格的,可能是服务器的FTP显示风格用的是UNIX风格造成的吧?
      

  3.   

    楼上说的对Linux和Unix系统大小写敏感
      

  4.   

    的确是用IIS
    这么说,我只能用通配符来搜索所有文件来确定是否有此文件了?
      

  5.   

    Mr_Bomber(炸弹先生) 说的对,不止大小写敏感,连中文名都识别不出来
      

  6.   

    是不是写MFC的人写错老,嘿嘿
      

  7.   

    用Api写算了,多方便FtpCommand Allows an application to send commands directly to an FTP server. 
    FtpCreateDirectory Creates a new directory on the FTP server. 
    FtpDeleteFile Deletes a file stored on the FTP server. 
    FtpFindFirstFile Searches the specified directory of the given FTP session. File and directory entries are returned to the application in the WIN32_FIND_DATA structure. 
    FtpGetCurrentDirectory Retrieves the current directory for the specified FTP session. 
    FtpGetFile Retrieves a file from the FTP server and stores it under the specified file name, creating a new local file in the process. 
    FtpGetFileSize Retrieves the file size of the requested FTP resource. 
    FtpOpenFile Initiates access to a remote file on an FTP server for reading or writing. 
    FtpPutFile Stores a file on the FTP server. 
    FtpRemoveDirectory Removes the specified directory on the FTP server. 
    FtpRenameFile Renames a file stored on the FTP server. 
    FtpSetCurrentDirectory Changes to a different working directory on the FTP server. 
      

  8.   

    Kevin_qing(Kevin)  不是我写错了,我调试过,结果如题
      

  9.   

    NT的ftp服务器也得用unix的标准,ftp本来就是Unix的东东,这可不是Microsoft说了算的
      

  10.   

    我是说写MFC代码的人写错了。
    用API试试,比mfc方便
      

  11.   

    Kevin_qing(Kevin),你说地很有可能,我想只能是这样了