Changeset 128


Ignore:
Timestamp:
11/26/18 15:15:34 (6 years ago)
Author:
bduin
Message:
 
Location:
prextra
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • prextra/@ftp/ftp.m

    r113 r128  
    3838
    3939% Agrument parsing
    40 error(nargchk(1,3,nargin))
     40narginchk(1,3)
    4141switch nargin
    4242case 3
  • prextra/prtools_export.m

    r113 r128  
    138138  fprintf(1,'    FTP PRTools zip-file to website ... \n');
    139139  % store p-files on website
    140   ftpsite = ftp('prtools.tudelft.nl','prtools','pvG4z1!1');
     140  ftpsite = ftp('prtools.tudelft.nl','prlab','0iX7&b3c');
    141141  cd(ftpsite,'httpdocs/files');
    142142  mput(ftpsite,pfiles);
     
    148148  % backup p-files and m-files
    149149  fprintf(1,'    Storing backups of mfiles and p-files ... \n');
    150   [s,mess] = copyfile(pfiles,fullfile(exportdir,'prtools_old_p'));
     150  [s,mess] = copyfile(pfiles,fullfile(exportdir,'prtools_old_export'));
    151151  if s
    152152    delete(pfiles);
     
    155155    disp(mess);
    156156  end
    157   [s,mess] = copyfile(mfiles,fullfile(exportdir,'prtools_old_m'));
     157  [s,mess] = copyfile(mfiles,fullfile(exportdir,'prtools_old_archive'));
    158158  if s
    159159    delete(mfiles);
Note: See TracChangeset for help on using the changeset viewer.