我现在要把一张图片存储到服务器(计算机名为cmh)中的F盘,image文件的目录下要什么保存,后台程序自动保存,不进行手动保存.要什么做

解决方案 »

  1.   

    if FileExists(aimagePath) then
      begin
        if not DirectoryExists(ExtractFilepath(paramstr(0)) + 'images') then
          ForceDirectories(ExtractFilepath(paramstr(0)) + 'images');
      end;  Image1.Picture.SaveToFile(aImagePath);
      

  2.   

    那也不是很难吧,
    服务器得到图片,在代码中写
    bitmap.savetoFile('F:\...');
      

  3.   

    savetofile(\\服务器名+具体的路径)就可以了
      

  4.   

    bitmap.savetoFile('F:\...');
    楼主应该已经试对了吧?呵呵