| |
| | |

CodersClub

 Forgot password?
 Register
Search
Author: padheye
Collapse the left

About Remote Upload

[Copy link]
 Author| Post time: 2020-06-14 20:16
| Show all posts
Edited by padheye at 2020-6-14 21:56
vot 2020-6-14 16:55
Try to archive all the "data" folder at the old server,
then put it to the new server by FTP,
and th ...

but then there is an error of attachments missing.

If possible I need it to upload files directly there.


This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2020-06-17 17:44
| Show all posts
Just check the files permissions and owner!
The "data" folder and all the internal subfolders must have "0777" permissions.
All the files inside "data" and all the internal subfolders must have "0666" permissions.
 Author| Post time: 2020-06-18 11:40
| Show all posts
vot 2020-6-17 17:44
Just check the files permissions and owner!
The "data" folder and all the internal subfolders must h ...

I think permission wise everything is fine.

Check this.. my remote server for user-uploaded files, here

 Russia

Post time: 2020-06-18 19:59
| Show all posts
I do not understand...
What the folders are listed there?
How your forum is dealing with that folders?

/public_html/forum/202006/01/
....
/public_html/forum/202006/18/
 Author| Post time: 2020-06-18 22:10
| Show all posts
vot 2020-6-18 19:59
I do not understand...
What the folders are listed there?
How your forum is dealing with that folder ...

I think this is the way Discuz organises the uploaded data. The 202006 indicates the year 2020 and month 6th... and all those number from 1 to 18 shows the uploaded files respectively to its day i.e. today is 18 so all the files of today will go there.

This is my remote server which is getting used to store the files of craxme.com via the remote attachment feature.

 Russia

Post time: 2020-06-19 10:48
| Show all posts
I think you have to rewrite the Discuz attach showing functions to handle your torrent files.
That function must check if the attached file extension is '.torrent'.
If no then show the file name as usual.
But is yes, then first read the torrent file content and show that content instead of the file name itself.
 Author| Post time: 2020-06-19 12:21
| Show all posts
Edited by padheye at 2020-6-19 12:22
vot 2020-6-19 10:48
I think you have to rewrite the Discuz attach showing functions to handle your torrent files.
That f ...

I wasn't talking about torrents files, I was asking for all files in general.

I'm just looking for a method by that all uploaded files should get directly uploaded to the remote server.

And where to look for discuz attach functions...

 Russia

Post time: 2020-06-20 09:55
| Show all posts
I wasn't talking about torrents files

Sorry, I was misplaced my answer in another thread
 Author| Post time: 2020-06-20 17:11
| Show all posts
vot 2020-6-20 09:55
Sorry, I was misplaced my answer in another thread

Oh.. Please check my reply.

 Russia

Post time: 2020-06-21 22:50
| Show all posts
Explain please, how to configure the remote attachments in my Discuz adminCP?
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-22 03:53 GMT+3 , Processed in 0.081730 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list