Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Program for uploading to FTP

  1. #1
    Gold Member Martinco's Avatar
    Join Date
    Oct 2008
    Location
    Rustenburg
    Posts
    927
    Thanks
    175
    Thanked 136 Times in 108 Posts

    Program for uploading to FTP

    Does anybody know of a program that can detect a modified file in a specified folder and then upload that specific file to an FTP server ?

    To be used for CCTV cameras as and when motion is detected to upload immediately.

    A friend of mine has had 2 burglaries within as many months and on both occasions the thugs searched the premises until they found the recorder/PC and took off with that as well. So............no pictures !

    I looked at Filezilla but this cannot detect a modified file automatically.
    Martin Coetzee
    Supplier of Stainless Steel Band and Buckle and various fastening systems. Steel, Plastic, Galvanized, PET and Poly woven.
    We solve your fastening problems.
    www.straptite.com

    You may never know what results will come from your actions, but if you do nothing, there will be no results... Rudy Malan 05/03/2011

  2. #2
    Email problem daveob's Avatar
    Join Date
    Feb 2008
    Location
    Amanzimtoti
    Posts
    655
    Thanks
    107
    Thanked 118 Times in 103 Posts
    So you just want something to keep a list of the files in a folder, and if a new file appears, upload it to an ftp site using the ftp access details stored in an ini file ?

    I would suggest posting this as a project on vworker.com and specify you want a stand alone app for Win XP or higher, that reads the ini file, reads a reference file ( list of already uploaded files ) and uploads any new files.

    Would also suggest about a 10 second delay to avoid trying to upload a file that is still being created.

    You'll also want a log file updated with the details ( upload the log file once appended to ).

    Also specify that you want it to run using the virgin OS - so it is not reliant on having the .net framework or Java installed. Although if you're prepared to make sure you have Java, it might not be a bad idea to use this, as it is quite versatile and easy to ftp with it. Ask the person that bids on the project to specify the language to be used, etc.

    You'll probably get some asian coder whip it up in less than a day for about $10.
    Watching the ships passing by.

  3. Thanks given for this post:

    Martinco (10-May-11)

  4. #3
    Site Caretaker Dave A's Avatar
    Join Date
    May 2006
    Location
    Durban, South Africa
    Posts
    22,648
    Thanks
    3,304
    Thanked 2,676 Times in 2,257 Posts
    Blog Entries
    12
    I like daveob's line of thinking, except I was thinking this is a synchronisation task.

  5. #4
    Diamond Member AndyD's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town
    Posts
    4,923
    Thanks
    576
    Thanked 934 Times in 755 Posts
    Does your security system keep modifying the existing video file every time movement is detected and a recording session takes place or does it save each session as an individual avi file? Reason I ask is if it's appending each time to an existing file this file could become enormous and to keep backing this up to an off-site ftp location will become a bandwidth and time issue with our internet speeds. Can't your friend set up a server in a secure area within the premises and network everything with cat5e off a gigabit ethernet switch?
    _______________________________________________

    _______________________________________________

  6. #5
    Email problem daveob's Avatar
    Join Date
    Feb 2008
    Location
    Amanzimtoti
    Posts
    655
    Thanks
    107
    Thanked 118 Times in 103 Posts
    I got the impression that this was still pictures ( like jpg ), and not video clips. I may be wrong.
    Watching the ships passing by.

  7. #6
    Gold Member Martinco's Avatar
    Join Date
    Oct 2008
    Location
    Rustenburg
    Posts
    927
    Thanks
    175
    Thanked 136 Times in 108 Posts
    Thanks Dave, thanks Dave and Andy, yes we are looking at .jpg still fotos or at most very slow video at say 10 fpm and yes, loading to a new file every time.
    I looked at FTP Rush and it seems as though there is a possibility of this working but it would need some script to be written into the "task" tab. This has me baffled as I know nothing about writing script.
    Andy, Dave, you would not like to look at this application and see if you can figure it out ? http://www.wftpserver.com/ftprush.htm.

    The affirmative shoppers ripped my friend of for +- 800K in the last 2-3 months and this is becoming a joke ! He runs a computer store, so it is quite easy to gather that amount of value in double quick time before any response or cops can arrive.
    Must be inside help as they take the security cameras and file server every time, no matter where he hides it.
    Martin Coetzee
    Supplier of Stainless Steel Band and Buckle and various fastening systems. Steel, Plastic, Galvanized, PET and Poly woven.
    We solve your fastening problems.
    www.straptite.com

    You may never know what results will come from your actions, but if you do nothing, there will be no results... Rudy Malan 05/03/2011

  8. #7
    Diamond Member AndyD's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town
    Posts
    4,923
    Thanks
    576
    Thanked 934 Times in 755 Posts
    I'll check it out in the morning when I have a few minutes and post back but from a first glance it looks like you'll need to write some incremental backup code to go with it. The other issue is that if someone breaks in and immediately goes for the monitoring equipment before that recording session has finished then it's doubtful that newest video file would be in the storage directory so even with event driven incremental backup or synchronization it wouldn't have been backed up to a remote FTP server.

    I'm still favoring a solution that uses a network storage device that is physically secure and stored locally. It sounds like this would be easier set up, more workable and a far cheaper option. It would still be an event driven sync/backup but it wouldn't require the tricky integration and large bandwidth and also wouldn't be reliant on an internet connection.
    _______________________________________________

    _______________________________________________

  9. Thanks given for this post:

    Martinco (11-May-11)

  10. #8
    Diamond Member
    Join Date
    Mar 2010
    Location
    Cape Town
    Posts
    6,329
    Thanks
    426
    Thanked 978 Times in 795 Posts
    I am sure that there are IP cameras available that do this automatically. Many systems have remote backup and monitoring. Why doesn't he just stick the monitoring PC in a safe or in the ceiling. He can easily install decoy cameras and a decoy monitor / recorder PC. All he needs to do is to make it very obvious that the decoy is where its at - connect a decoy camera to a cctv screen sitting on top of an old pc and put in a removeable hard drive (with a hand grenade inside it). The cleva deeeek she will think itsa krismooos and taka the decoy drive. Then she puts thee drive inna the poket and 20 minutes lata the drive she goes kaboom!

  11. #9
    Email problem daveob's Avatar
    Join Date
    Feb 2008
    Location
    Amanzimtoti
    Posts
    655
    Thanks
    107
    Thanked 118 Times in 103 Posts
    or place the dummy PC in a lockable device. The kind of thing that you bolt to the wall and the PC fits inside it.

    Then connect the electric fence or the stun gun to the cage and arm it each afternoon.
    Watching the ships passing by.

  12. #10
    Gold Member Martinco's Avatar
    Join Date
    Oct 2008
    Location
    Rustenburg
    Posts
    927
    Thanks
    175
    Thanked 136 Times in 108 Posts
    Quote Originally Posted by adrianh View Post
    I am sure that there are IP cameras available that do this automatically. Many systems have remote backup and monitoring.
    Yes Adrian that is the answer but the guy is stuck with CCTV cams at this stage and we are trying to get those working.
    Thanks Andy, I shall wait for you to check it out.
    Martin Coetzee
    Supplier of Stainless Steel Band and Buckle and various fastening systems. Steel, Plastic, Galvanized, PET and Poly woven.
    We solve your fastening problems.
    www.straptite.com

    You may never know what results will come from your actions, but if you do nothing, there will be no results... Rudy Malan 05/03/2011

Page 1 of 2 12 LastLast

Did you like this article? Share it with your favourite social network.

Did you like this article? Share it with your favourite social network.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •