Page 1 of 1

FTP!!!

PostPosted: Thu Feb 02, 2012 7:37 am
by g_pwn
ok my request is to make it so that if i FTP a file into the server, the script is able to serve the file.

i tried to upload somethings via FTP to my server, and i noticed everything that was being uploaded (via the website of script) had a .dfh file extension.
so what i did was i uploaded my file and just added .dfh to the end of the file. unfortunatly, i am able to view the file (under view files) but i cannot download it, see its actual size and i think i cannot see its filename (cannot recall)

so that is my request :) thanks!

Re: FTP!!!

PostPosted: Thu Feb 02, 2012 2:32 pm
by SamEA
Can you provide a sample on how you're using FTP to communicate with DFH's upload progress, in order to understand what's going wrong? Thank you.

Re: FTP!!!

PostPosted: Thu Feb 02, 2012 11:39 pm
by g_pwn
im using filezilla to connect to my server and im just dumping my file into the "files" directory.. im not really communicating with DFH through ftp.. im just dumping the file into the director were DFH stores the user uploads...

Re: FTP!!!

PostPosted: Sun Feb 05, 2012 5:59 am
by SamEA
All files need to be directly uploaded to ./storage. Afterwards, create a file in ./files called [NAME_OF_FILE].dfh and insert the following basic information:

Code: Select all
DFHGeneratedNumberWithFILENAME|FILENAME


You can insert more parameters into the database file. Look at the other databases to gather an idea of how and where to put the additional information.