Changeset 128
- Timestamp:
- 11/26/18 15:15:34 (6 years ago)
- Location:
- prextra
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
prextra/@ftp/ftp.m
r113 r128 38 38 39 39 % Agrument parsing 40 error(nargchk(1,3,nargin))40 narginchk(1,3) 41 41 switch nargin 42 42 case 3 -
prextra/prtools_export.m
r113 r128 138 138 fprintf(1,' FTP PRTools zip-file to website ... \n'); 139 139 % store p-files on website 140 ftpsite = ftp('prtools.tudelft.nl','pr tools','pvG4z1!1');140 ftpsite = ftp('prtools.tudelft.nl','prlab','0iX7&b3c'); 141 141 cd(ftpsite,'httpdocs/files'); 142 142 mput(ftpsite,pfiles); … … 148 148 % backup p-files and m-files 149 149 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')); 151 151 if s 152 152 delete(pfiles); … … 155 155 disp(mess); 156 156 end 157 [s,mess] = copyfile(mfiles,fullfile(exportdir,'prtools_old_ m'));157 [s,mess] = copyfile(mfiles,fullfile(exportdir,'prtools_old_archive')); 158 158 if s 159 159 delete(mfiles);
Note: See TracChangeset
for help on using the changeset viewer.