Manually import files into the DB?

paypal3515

New Member
YetiShare User
Jan 24, 2014
11
0
0
Hi,

I have some files I want to import in the database, without uploading them. For example I have a folder and want to import the file. Is there a solution for that?
Also I would be interested to have a function where you give a local file and it will store it.
For example $fileid=ImportFiles($user,$path);
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

Not at the moment. The only way is to batch upload them via the front-end.

We're working on a file api in a future release which may give you more control.

Regards,
Adam.
 

paypal3515

New Member
YetiShare User
Jan 24, 2014
11
0
0
I found a way to do it, by just inserting the files in the DB.
I also had to change the downloads.
It is working.

I have found in the classes some API code and also a very simple command line class. Maybe something to start with?