Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Investigate SFTP for upload

#795

I asked hart to review this

Reported by shawn (at vegantech) · August 13th, 2014 @ 08:47 AM

State: new
Milestone: August 1
Assigned to: shawn (at vegantech) shawn (at vegantech)

Activity

  1. shawn (at vegantech)
    shawn (at vegantech)

    Hart came up with some suggestions

    SFTP
    allow district to create unix users users with district id
    sims interface for creating account/changing password
    write only directory
    http://stackoverflow.com/questions/511463/monitor-directory-for-cha...
    email will be sent to district_upload user

    inotify or 5 or 10 min cronjob to poll upload directory

    August 13th, 2014 @ 04:00 PM

  2. Hart Simha
    Hart Simha

    As of right now, I'm roughly done with the ruby script that will be executed by a cron job to walk through all the subdirectories (each associated with a district admin) in the sftp receipt directory, and move all successfully transferred files into another directory from which they will be processed. After I get ProFTPd (or another SFTP server) configured on a virtual machine, I'm going to test it to make sure it's tolerant to different kinds of connection loss while receiving a file. After that, the only remaining challenge will be to associate the usernames with their own UNIX accounts so that the SIMS application can determine which files were uploaded by which users when processing.

    September 9th, 2014 @ 01:53 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.