0 votes

Good day,

I've been a long time Agent Ransack fan. I'm in the process of moving a departmental file server to Box. Along the way I get error messages during the transfer process that such-and-such a file has a control code, listed as \u007f in the error message. Is there a way for AgentR to find these control codes up front, so I can get rid of them before attempting a transfer? I tried \u007f as a search argument and it came up empty. Which could mean that I have indeed gotten them all and fixed them, or that AgentR isn't exactly looking for a control code but expects this sequence as a literal part of the file name. Thanks in advance for any assistance.

asked by (30 points)
Is the control code actually the text value '\u007f' or the hex value 0x7f?
the \u007f is what is reported in the error message of the transfer to Box. Message goes along the line of "Cannot transfer file with control code in the name." then it gives the path to the offending file. Navigating to it in Windows Explorer, there are some "funny characters" in the file name. I didn't see this particular one on an ASCII table. One table rendered this value as ASCII(127) but I don't see a character corresponding to it.

1 Answer

0 votes

If you want to search for the character value 0x7f in your text switch the search to regular expression and search for

File name: \x7f
answered by (67.5k points)
Thanks, Dave, but the character is part of the file name, not text within the file.
Use the 'File name' field for the search. I've changed the answer to reflect this.
That didn't work, unfortunately. However, I did stumble upon a solution which I'll add here in case anyone runs into this issue in the future and finds this thread of discussion. My solution was to go into Windows Explorer and find one of the  errant files. Using the file rename option, I was able to highlight one of the control code characters. I then did a control-c to copy it to the clipboard. Going back to Agent Ransack I then, in the file name field put a * followed by a control-v to paste the character, then a second *.  Agent Ransack found all of the errant files in very short order! So thank you for pointing me in the general direction.
...