StarDot Knowledge Base

FTP Properties

Article ID: 108
Last updated: 11 Jun, 2020
FTP UPLOAD
FTP stands for File Transfer Protocol, one of the most popular method for transferring files over the Internet. In addition to NetCam serving images from its internal web server, NetCam can also upload images to an external web server. This is useful if you plan on having a large number of visitors viewing the live images or if you'd like to archive every image NetCam takes. To enable image uploads, check FTP Upload on and fill out the options below.
Required Fields
HOSTNAME
The hostname is the name of the server where you'd like NetCam to upload images to. It can be a machine name or IP address. Do not include the http:// or ftp:// header or a path.

Example: myserver.com or ftp.myserver.com
USERNAME This is the username or login name assigned to you by your hosting company.
PASSWORD This is the password assigned to you by your hosting company.
PATH/FILE This field combines two elements, the image filename, preceded by an optional path or directory. Consult with your hosting company to determine if you need to specify a path. If you don't, you simply put the desired name of the image file here.

Example Without Path: netcam.jpg
Example With Path: /html/images/netcam.jpg
Advanced Fields
ROTATING ARCHIVE Using a file renaming scheme, this causes NetCam to maintain an archive of the last ten images on your web server. A hyphen followed by the archive number (0-9) is appended to the filename.

Default: Disabled
PASSIVE MODE If NetCam is behind a proxy server, enable passive mode. If you are unsure if you need passive mode, it is usually safe to enable it anyway.
Default: Enabled
TIMEOUT NetCam will wait the specified amount of seconds between image upload attempts.
Default: 120
DELETE BEFORE RENAME NetCam employs a file renaming scheme, which greatly reduces the possibility of file collisions between NetCam uploading an image and viewers downloading the image. The image is uploaded with a .tmp extension. Once uploaded the .tmp file is renamed without the tmp extension. Certain FTP/Web servers do not allow a file to be renamed to a filename that already exists. To get around this problem, enable Delete Before Rename.

Default: Off
IIS 4.0 Certain Microsoft-based FTP/Web servers have a well known bug that affects uploading images with the same filename. If you have problems seeing your image update on a Microsoft-based server, enable the IIS 4.0 option. This option is only valid if Delete Before Rename (above) is also enabled.

Default: Off
SECONDARY PATH/FILE NetCam can optionally upload the image with a separate path and/or filename from the Path/File above. This provides a very convenient way to archive images on your server while still maintaining a statically named live image. One way to do this is to include date/time markup characters as part of the filename. The current upload time of the image will become the filename.

For example, the filename %Y-%m%d-%H%M%S.jpg automatically translates to 2002-10-15-153015.jpg if the date and time of the upload is April 15, 2001 at 3:30:15 PM. For a complete list of Date/Time markup characters, see the Overlay Help Page.

Only the characters beginning with the percentage symbol (%) are valid. It not advisable to use date/time characters that insert / \ : or space characters, as this can confuse the FTP/Web server.

Example Without Path:
netcam-%Y-%m%d-%H%M%S.jpg

Example With Path:
/var/html/netcam-%Y-%m%d-%H%M%S.jpg
CURRENT IP LINK PATH/FILE If NetCam is using an external modem to dial out to an ISP, NetCam is assigned a different IP address every time it connects. This makes it next to impossible to access the camera directly from a browser since its IP address is not known. To help eliminate this problem, NetCam can upload a small web page every time an image is uploaded. The web page contains the current IP address of the camera so you can configure the camera remotely. Clear this field if you don't want this file to be uploaded.

Default: ip.html
 
SCHEDULE
Scheduling tells NetCam when and how often to FTP images to your server.
DELAY This tells NetCam to delay a specified number of seconds between FTP image uploads. The speed at which NetCam can upload varies on the image resolution, amount of JPEG compression, Internet connection and network congestion.

Keep in mind that the overhead of FTP doesn't allow for the same update rates that you see when accessing NetCam with a browser. It is safe to say that FTP restricts 320x240 uploads to once every 6 seconds, even on a DSL or cable connection. 640x480 images will probably not upload faster than once every 15 seconds.
Default: 30 Seconds
UPLOAD WINDOW NetCam can upload images 24 hours a day, seven days a week, or you can set whatever time window and days of the week you like. Use military time for the beginning and ending window times.

Example: Upload Between 07:30 and 18:30 only on Mon, Tue, Wed, Thu and Fri
Article ID: 108
Last updated: 11 Jun, 2020
Revision: 1
Access: Public
Comments: 0