ftp server

Magnu420

VIP Member
VIP Member
Joined
Mar 25, 2006
Messages
2,275
Reaction score
535
Location
in a house in,lancs
i did post this in the linux section but got no reply so i try here

dunno if this is the correct section,if not please move

i want to set up a ftp server for cctv cameras,i want to be able to view the stored footage
via main pc at home and by mobile,also i want to set up a smtp (i think) and create a ssh conections
to the camera

what will i need ???
i got a ubuntu pc thats on 24/7/365,some spare hdd

has anyone got a dummies guide to set one up on ubuntu (only been using ubuntu for a few months)
 
Not sure if this is going to be of any help to you but let me tell of my set up which I did a few years ago. I have a four cameras set up at each corner of my house watching each side of the house. All of the cameras are POE(power over Ethernet}connected to the DVR which is connected to my home network. The DVR has a hard disc in it and records everything it sees through the cameras. I have a free DYDNS host which allows me to connect to my DVR when I am outside my home network so that I connect with any pc from the internet. I have downloaded an free app on my phone so that I can view the cameras on the internet when I am away from home or abroad on holiday. Do not really know much about Ubuntu ftp server but if you set one up sounds like all you would be doing would be to store your video images from your camera. I have a Netgear NAS which is supposed to have an option for CCTV but never really looked into it as what I have currently keeps it simple and does the job.
 
thanks for that @Curious123 ive not got round to getting this up and running
yet but hopefully i will in a couple of weeks
 
Last edited by a moderator:
If you do linux on home host you can script myftp.sh..

Some thing like bellow

# cat ftpg.sh
#!/bin/bash
BINPATH="/usr/local/etc"
SHELL="/bin/sh"
PATH="/usr/local/etc:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin"
HOST="" #This is the FTP servers host or IP address.
USER="" #This is the FTP user that has access to the server.
PASS="7mRem|6Kwnca" #This is the password for the FTP user.


# Call 1. Uses the ftp command with the -inv switches. -i turns off interactive prompting. -n Restrains FTP from attempting the auto-login feature. -v enables verbose and progress.


ftp -inv $HOST << EOF


# Call 2. Here the login credentials are supplied by calling the variables.


user $USER $PASS


# Call 3. Here you will change to the directory where you want to put or get
cd /public_html/ext/


# Call4. Here you will tell FTP to put or get the file.
##put test.txt


# or
lcd /usr/local/etc/
get you.wmv
wget --user= --password='7mRem|6Kwnca' http://yourserver/ext/you.wav
bye
EOF
fi
done
 
Back
Top