0

Hi all

I am new to Linux and have been trying to set up an ftp connection using pure-ftpd. I have been able to set up the ftp and am using anonymous access with this. My main problem is using the upload script. I have compiled pure-ftpd with the uploadscript, but when I try and install this there is no response.

The command I am using is:
/usr/local/sbin/pure-uploadscript -r /home/administrator/ftpupload.sh (ftpupload.sh being the file I want to use).

I have run the file beforehand to check there are no errors.

If anyone has any ideas that would be greatly appreciated. Can uploadscript be used with anonymous access?

Thanks in advance.

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by jfox1988
0

Hi all

I am new to Linux and have been trying to set up an ftp connection using pure-ftpd. I have been able to set up the ftp and am using anonymous access with this. My main problem is using the upload script. I have compiled pure-ftpd with the uploadscript, but when I try and install this there is no response.

The command I am using is:
/usr/local/sbin/pure-uploadscript -r /home/administrator/ftpupload.sh (ftpupload.sh being the file I want to use).

I have run the file beforehand to check there are no errors.

If anyone has any ideas that would be greatly appreciated. Can uploadscript be used with anonymous access?

Thanks in advance.

post the uploadscript code somewere and link to it so i can look at it ive never used pure-ftpd but i should be able to help

0

Here is the script that I am using once an upload has taken place.

#!/bin/bash

# A script to change the group of a recently uploaded file by copying it to another location
# and deleting the file in the original location.

cd /mnt/fv_disk/ftp
cp public/* /mnt/fv_disk/ftp/ibuild
chgrp Testers /mnt/fv_disk/ftp/ibuild/*
cd /mnt/fv_disk/ftp/public
rm -f *


Thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.