[VB] Upload files to cPanel File Manager/server

  • (2 Pages)
  • +
  • 1
  • 2

19 Replies - 497 Views - Last Post: 15 July 2019 - 10:09 AM Rate Topic: -----

#16 astonecipher   User is offline

  • Senior Systems Engineer
  • member icon

Reputation: 2942
  • View blog
  • Posts: 11,425
  • Joined: 03-December 12

Re: [VB] Upload files to cPanel File Manager/server

Posted 15 July 2019 - 09:33 AM

View Postjimble, on 15 July 2019 - 11:30 AM, said:

I also do not have any issue

Then you posted, why?

Quote

I can't work out how to make my VB program be able to upload a file selected from client computer to the "files" folder. I don't know how to get the address to upload, what permissions are required, etc.


Sounds like issues to me? Oh well.
Was This Post Helpful? 1
  • +
  • -

#17 jimble   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 14-July 19

Re: [VB] Upload files to cPanel File Manager/server

Posted 15 July 2019 - 09:33 AM

View PostDarenR, on 15 July 2019 - 09:31 AM, said:

ewe dont save images to db


save them to a file folder and just reference them in the db well unless you want you db to grow exponentially


Again I still donít see the issue with it. Additionally, my question was exactly what youíre telling me to do so youíre not contributing at all here.
Was This Post Helpful? 0
  • +
  • -

#18 DarenR   User is offline

  • D.I.C Lover

Reputation: 634
  • View blog
  • Posts: 4,209
  • Joined: 12-January 10

Re: [VB] Upload files to cPanel File Manager/server

Posted 15 July 2019 - 09:47 AM

no, my suggestion was to store in a file folder and reference it in a database


go back and reread ----


My link
My link2
Was This Post Helpful? 0
  • +
  • -

#19 jimble   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 7
  • Joined: 14-July 19

Re: [VB] Upload files to cPanel File Manager/server

Posted 15 July 2019 - 09:50 AM

View PostDarenR, on 15 July 2019 - 09:47 AM, said:

no, my suggestion was to store in a file folder and reference it in a database


go back and reread ----


My link
My link2


This might be helpful if the files were big, but currently no post will be more than 1MB. I do not think this is therefore any issue
Was This Post Helpful? 0
  • +
  • -

#20 modi123_1   User is online

  • Suitor #2
  • member icon



Reputation: 15262
  • View blog
  • Posts: 61,182
  • Joined: 12-June 08

Re: [VB] Upload files to cPanel File Manager/server

Posted 15 July 2019 - 10:09 AM

I would echo what everyone else has mentioned. Databases are good for searching, storing, and holding discrete bits of relatable data. It is not a file storage system.

Why is it bad.. well.. first is size.
Second is optimization. Databases like to search through things well, and eventually consider most, if not all, columns at some brief point when doing a query. If it hits a byte array of some size (even down to a kb) then it grinds and churns longer than it should. This would mean that it would be the best option to separate the file into it's own table with the original table's key as the file table's key.

Then there's the security aspect of a DB being attacked, proper file back up storage, versions breaking byte arrays, etc.

but hey.. some folk don't mind swimming up stream! :D
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2