News: September 21st, 2019, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.4! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

November 16, 2019, 09:46:26 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189259
  • Total Topics: 20772
  • Online Today: 201
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 188
Total: 188

Author Topic: TPdownloads module  (Read 9913 times)

0 Members and 1 Guest are viewing this topic.

Offline Kike_GL

  • Jr. Member
  • **
  • Posts: 45
  • Perú Ruteable
    • Perú Ruteable
TPdownloads module
« on: April 29, 2011, 01:43:31 PM »
I have SMF 1.1.13 and TP 1.101 with TPdownloads module problems.

Create the links in the table tp_dlmanager and supposedly save the file in the real folder tp-downloads, but then does not download or see the file in that folder. If I upload with FTP to that folder and rename the file with the TPdownloads module assigned a size 0 as it does not exist.

Another strange thing is that the FTP tab see a list of some  strange numbers file name that physically I can not find anywhere, not even referenced in the database.

Appreciate any help with this, greetings, Kike_GL
Saludos, Kike_GL

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: TPdownloads module
« Reply #1 on: April 29, 2011, 04:46:18 PM »
Sorry Kike_GL but I do not understand what you are asking.  I don't know what you mean be "create links".

Offline Kike_GL

  • Jr. Member
  • **
  • Posts: 45
  • Perú Ruteable
    • Perú Ruteable
Re: TPdownloads module
« Reply #2 on: April 29, 2011, 05:16:16 PM »
Admin > TinyPortal > TPdownloads > Upload

Next: check "Do not upload anything, just create an empty item."

Next: Send button

Now my file is not en the combo button "filename". I choose any and Send.

Next: I edit text box "Filename" and put the name of my file and Send.

Result: 0 bytes and can't download.

PD: Sorry english is not my language
Saludos, Kike_GL

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: TPdownloads module
« Reply #3 on: April 29, 2011, 05:26:37 PM »
The FTP option is for files that have been uploaded with an FTP client to the tp-downloads folder. When you upload files to this folder TP will automatically read the directly and give you the option to assign the files to a download. When you create an empty download item it should show a list in the "filename" of files that are NOT assigned in the FTP page.

Offline Kike_GL

  • Jr. Member
  • **
  • Posts: 45
  • Perú Ruteable
    • Perú Ruteable
Re: TPdownloads module
« Reply #4 on: April 29, 2011, 05:41:14 PM »
Yes, that's my problem !

I uploaded a file with an FTP client to tp-downloads folder, but TP doesn't reacognice the file name I whote. I know that is case sensitive. The size is all time 0.

FTP page displays files that are not in the tp-downloads folder. Where TP got the strange file names ?
« Last Edit: April 29, 2011, 06:11:19 PM by Kike_GL »
Saludos, Kike_GL

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: TPdownloads module
« Reply #5 on: April 29, 2011, 05:56:50 PM »
So the file does not show up? When you say "it doesn't recognize", does the file not display at all?

Offline Kike_GL

  • Jr. Member
  • **
  • Posts: 45
  • Perú Ruteable
    • Perú Ruteable
Re: TPdownloads module
« Reply #6 on: April 29, 2011, 06:14:52 PM »
I rewrote my previous response while you answer me, sorry
Saludos, Kike_GL

Offline Kike_GL

  • Jr. Member
  • **
  • Posts: 45
  • Perú Ruteable
    • Perú Ruteable
Re: TPdownloads module
« Reply #7 on: April 29, 2011, 06:26:31 PM »
Error Log:
----------------------------
2: filesize() [<a href='function.filesize'>function.filesize[/url]]: stat failed for /home/perutorg/public_html/tp-downloads/Perut_310.zip
File: /home/perutorg/public_html/Sources/TPdlmanager.php
Line: 2645
----------------------------
Saludos, Kike_GL

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
Re: TPdownloads module
« Reply #8 on: May 01, 2011, 07:48:15 AM »
It looks like the rename does not work. I'm not sure how it's supposed to work at the moment. You get the error because it is looking for the wrong filename.

Offline Kike_GL

  • Jr. Member
  • **
  • Posts: 45
  • Perú Ruteable
    • Perú Ruteable
Re: TPdownloads module
« Reply #9 on: May 03, 2011, 07:48:45 PM »
Problem solved. The error was a second folder called tp-downloads. Thank you for your assistance.
Saludos, Kike_GL