I got linux mint the other day and was playing around with the mintUpload feature. I really didn’t want to use their limited service, and have my own ftp so why not use it?

It’s very easy, here are the steps:

1. Create a file, name it whatever you want. Put some numbers such as 100000000/100000000 in it and save as whatever. This is so mintUpload “knows” how much space you have available. You can write a simple php to give actual numbers, but I don’t care since its just me using it.

2. Upload this file to your site, make sure its http:// accessible.

3. sudo nano /usr/lib/linuxmint/mintUpload/services/<servername>

4. Put this in nano, edit as needed and save:

name=<yourservername>

host=<ftp.yourservername.org>

user=<yourftpusername>

pass=<yourftppassword>

space=http://<url to space file in step 1>

url=http://<url to dir where files are uploaded>/<TIMESTAMP>/<FILE>

maxsize=1000000000

persistence=365

Notes:
persistence= random number
url= Leave the <TIMESTAMP>/<FILE> part, they are variables used by the script.
Files will be uploaded to a folder with a timestamp. IE: http://yoursite.org/uploads/2008072111111/yourfile.jpg
maxsize= maximum size you want to limit yourself to…

No Responses to “use mintUpload with your own ftp server”

  1. Fingel says:

    Works ok, but the only problem is that files go to the root instead of the folder /uploads/ I specify. Strage behavior I cant seem to figure out.

  2. n'nuy says:

    makasih atas bantuannya..

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

© 2010 nukeitdotorg Suffusion WordPress theme by Sayontan Sinha