PDA

View Full Version : Backup SFTP



thoroughfare
03-11-2004, 11:29 AM
Hi John,

How about SFTP instead of FTP for user backups? It makes me nervous sending all my users' data across an unsecure protocol, at timed intervals.

Thanks,
Matt :)

existenz
03-11-2004, 06:38 PM
second that one...this thread should be moved to features though.

The only problem is that most people probably don't know how to use a secure ftp so their needs to be a option for both.

existenz
03-11-2004, 06:39 PM
...oops double posted

thoroughfare
03-11-2004, 06:42 PM
Not sure you understand what I mean... I'm just talking about the user backups which can be FTPed on a cron schedule. You wouldn't need to understand STP really to do that.

Thanks,
Matt :)

DirectAdmin Support
03-12-2004, 10:43 AM
Hello,

The ftp script is here:

/usr/local/directadmin/scripts/ftp_upload.php

if you want to create your own (should sftp take a while, fate undecided), you can just copy it to
/usr/local/directadmin/scripts/custom/ftp_upload.php and make any changes you need.

John

thoroughfare
03-13-2004, 07:58 AM
So anything in the custom directory will override the default scripts? If I get it working, I'll post it here :)

Thanks!
Matt :)

l0rdphi1
03-13-2004, 12:10 PM
Forgive my ignorance, but what's wrong with using a simple call to scp in place of a whole php script? :)

DirectAdmin Support
03-13-2004, 12:36 PM
I was not aware of scp at the time of implementation :)

John