Box FTP server returns 551 error on output file
The Box FTP server will often return the following error when we attempt to upload a CSV file each morning:
- FTPS reply: 551 /F Reporting/2022-03-11_2022-03-12-1647079226485.csv: Error on output file.
When we regenerate a file with the same contents but a slightly different name (it's based on timestamps) and attempt to upload it again, it will succeed.
According to Box’s documentation (box link), this error indicates that the folder name may include trailing whitespace:
- Error on output file. You may have folder names that include trailing space characters. These are not allowed. Rename any folders to remove the extra space.
If this were the case, I would not expect a second attempt to succeed as the folder name is not dynamic. The file name is, but we have confirmed through logs and code review that there is no trailing whitespace on the file name.
The size of files we generally transfer are 2 to 5mb in size. The behavior we've identified leads us to believe that the file is successfully making it to Box's server, it just isn't being saved in the final location.
- Can we have further explanation on why we are getting a 551 response code seemingly randomly? Does the time of day have any bearing on this response?
- What sort of logs does Box have for our uploads?
-
Hi!
If you have a Box Enterprise account with access to support, I would actually go ahead and file a support ticket. The account you used to create this post isn't tied to an enterprise licensed account... do you happen to know your enterprise id? I would need that to search for logs.
Alex, Box Developer Advocate
-
Hi Alex Novotny,
Thank you for the help and suggested actions. I was able to work with a contact in our CX department to submit an official support ticket but unfortunately we didn't receive much additional help. For reference, here is our case: #2612532With respect to tracking down some logs, I was able to get the Account ID from the enterprise account used to submit the support ticket: 14074250514
If you're able to help us with any logs for our uploads that'd be a huge help - thank you!
Post is closed for comments.
Comments
2 comments