Hello,
Recently I started using everything with python, after some testing I found that if the full path length exceeds 260 characters, it will be truncated to 260 characters.
Any suggestions please?
Thank you
Python SDK record length problem
-
sk2107
- Posts: 385
- Joined: Sun Aug 07, 2022 8:48 pm
Python SDK record length problem
Last edited by NotNull on Sun Apr 14, 2024 3:12 pm, edited 1 time in total.
Reason: Moved from Support forum
Reason: Moved from Support forum
-
void
- Developer
- Posts: 19901
- Joined: Fri Oct 16, 2009 11:31 pm
Re: Python SDK record length problem
When you create your filename buffer, use a larger buffer size:
to:
Code: Select all
filename = ctypes.create_unicode_buffer(260)Code: Select all
filename = ctypes.create_unicode_buffer(32768)
-
sk2107
- Posts: 385
- Joined: Sun Aug 07, 2022 8:48 pm
Re: Python SDK record length problem
Thanks a lot. It is working fine now.
Best Regards
Best Regards