FAQ: Difference between revisions

6 bytes removed ,  11:01, 27 December 2015
(→‎Directory related problems in FTP: add quote from Steve (in forum answer), and minor other clarifications)
Line 974: Line 974:


== Running a web server on the same PC as Cumulus ==
== Running a web server on the same PC as Cumulus ==
If you do not have a web site, or run a web server locally (same PC, or on your local network), you can get Cumulus to generate/copy html or image files locally instead of using FTP to place them remotely. You'll need to list the (source) file including paths on the files tab of the internet settings, and specify a destination path and file name for the remote file in each case. Don't tick the ''FTP?'' box for standard cumulus pages (the exception is for a local web server and any non-standard web page that attempts to read using a script a local file such as dayfile.txt as this does need FTP to generate the server-based web page). For the standard images, you can supply a folder name (specify on the same screen), and they will all get copied there. Set everything else up as if you were using ftp, but don't supply a host name etc (except for exception already mentioned). See [[Customised_templates#What_to_select_on_the_.27Files.27_tab_of_the_Internet_Settings_screen_within_the_.27Configuration.27_menu|here]] for greater detail.
If you do not have a web site, or run a web server locally (same PC, or on your local network), you can get Cumulus to generate/copy either html, or image, files locally instead of using FTP to place them remotely.


There's a limit of 10 files on the files tab, but you can increase this to 20 files in version 1.9.2 (in version 1.9.3 it is 100 files) by editing cumulus.ini, with Cumulus stopped. Follow the format of the entries for first 10 files.
You'll need to list the (source) file including paths on the files tab of the internet settings, and specify a destination path and file name for the remote file in each case. Don't tick the ''FTP?'' box for standard cumulus pages (the exception is for a local web server and any non-standard web page that attempts to read using a script a local file such as dayfile.txt as this does need FTP to generate the server-based web page). For the standard images, you can supply a folder name (specify on the same screen), and they will all get copied there. See [[Customised_templates#What_to_select_on_the_.27Files.27_tab_of_the_Internet_Settings_screen_within_the_.27Configuration.27_menu|here]] for greater detail.
 
There's a limit of 10 entries on the files tab in Cumulus 1.9.x (in Cumulus MX all 100 entries are included in the settings interface). Entries for the full 100 files can also be amended by editing [[Cumulus.ini#Section:_FTP_site|cumulus.ini]], with Cumulus stopped. Follow the format of any existing entries for specifying additional files.


== Error Codes generated by FTP or Winsock ==
== Error Codes generated by FTP or Winsock ==
5,838

edits