Tech Tip: Internet Command's FTP File Name Character Limit
PRODUCT: 4D | VERSION: 16 | PLATFORM: Mac & Win
Published On: July 20, 2018
The Internet Commands Plugin has commands to interact with the FTP protocol. FTP is the File Transfer Protocol that provides a standard network protocol for transfering files.
The command has a limit to the number of characters a file's name can have.
The limit is:
1024 characters on Windows and 64-Bit Mac versions of 4D
32 characters in 32-Bit Mac.
This is the limit for a single file name and not the entire path, so it might be beneficial to add some defensive code to check the length of the files before accessing them. If the limit is exceeded an error will be generated.