You are here
stoute - Tue, 2012/02/21 - 18:28
Hallo,
Today I started useing: turnkey-fileserver-11.3-lucid-x86-vmdk
I was wondering if it is possible to get some kind of upload script for users how upload files to the ftp and log out, And then have the files moved to a different location.
I'm intending to uses this for my customers who only get acces to there own folder and when they log out move to a differnt location so my outher server can prossece these files.
Forum:
I think a cron script would work for this
Cron scripts are like 'Scheduled taks' in Windows. So you would write a script to do what you want. Then add the script to your cron jobs and make it run every minute or 2. You may need to tweak it a bit to get it to work exactly as you want.
So for the script itself, perhaps get it to check for new files/folders in a certain location and copy the files to another location if they exist. Or maybe check for logged in users and wait until they log out and then do the copy? I'm not sure how you'd do that but I'm sure it's possible. Have a bit of a google around and you should be able to piece something together (or find somewhere suitable to ask about specifics).
If you get this working nicely be great if you could post back with your solution because others may wish to do something similar.
install pure-ftpd on server
I just installed pure-ftpd on the server config was very simple only need to configure upload-script in software any one have experians with this?
Nice!
No I have no idea about Pure-FTPd at all (never even heard of it until now), but that's great that you found a nice solution to your desired usage scenario. And thanks for sharing, others may also find this useful too.
A couple of things I'll note though.
So good luck with it and it'd be great to hear how you get on.
Add new comment