Welcome,
Guest
. Please
login
or
register
.
March 18, 2025, 02:34:52 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
How to check if file exists on server?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to check if file exists on server? (Read 2568 times)
acronyte
Newbie
Thank You
-Given: 9
-Receive: 0
Posts: 46
How to check if file exists on server?
«
on:
September 04, 2017, 07:12:40 AM »
How would I got about checking if a file exists on tnet's server? I know I can do this through unity itself, but is there a tnet call or something that can do this?
Logged
devomage
Sr. Member
Thank You
-Given: 7
-Receive: 67
Posts: 250
Re: How to check if file exists on server?
«
Reply #1 on:
September 04, 2017, 05:19:50 PM »
I would create a custom packet to ensure a desired result.
TNManager.LoadFile might be an alternative.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: How to check if file exists on server?
«
Reply #2 on:
September 06, 2017, 12:56:22 AM »
You can LoadFile on it, and if the result comes back as empty, then the file doesn't exist.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
TNet 3 Support
»
How to check if file exists on server?