The problem is that Freeway’s upload code fails to delete files if they have a space in the filename (“Covid-19 Info.pdf”).
What you could do in this case is to delete the file using a third-party FTP program. Freeway won’t try to delete it if it’s not there.
One way to avoid this situation in future would be to rename files so that spaces are replaced by an underscore or hyphen ("Covid-19_Info.pdf” or "Covid-19-Info.pdf”) or just remove the space (“Covid-19Info.pdf”).
Jeremy
—
On 17 Sep 2020, at 18:53, Mark Ballard via freewaytalk email@hidden wrote:
Hi Jeremy, I know you said just copy the line above the Rm line which is:
Deleting Covid-19 Info.pdf
But here’s the whole log as I’m wondering if it’s actually caused by the line nearer the top that says
“* SSH public key authentication failed: Unable to open public key file”
Argh! This is a pet peeve of mine. URLs must not contain spaces. Any spaces anywhere immediately end the URL and begin a fragment of text following the URL. Browsers attempt to paper over this by converting the space to %20, and Web servers know to treat such a string as if it contained a space when looking in their own filesystem for the file to serve. But that’s a convention that’s grown around a mistake, not the actual way you’re supposed to do things.
It would be nice if Freeway would sanitize all the filenames it creates, so that spaces are replaced with dashes or underscores, regardless whether they are in folder or file names.
Walter
On Sep 17, 2020, at 2:06 PM, Jeremy Hughes email@hidden wrote:
Hi Mark,
The problem is that Freeway’s upload code fails to delete files if they have a space in the filename (“Covid-19 Info.pdf”).
What you could do in this case is to delete the file using a third-party FTP program. Freeway won’t try to delete it if it’s not there.
One way to avoid this situation in future would be to rename files so that spaces are replaced by an underscore or hyphen ("Covid-19_Info.pdf” or "Covid-19-Info.pdf”) or just remove the space (“Covid-19Info.pdf”).
Jeremy
—
On 17 Sep 2020, at 18:53, Mark Ballard via freewaytalk email@hidden wrote:
Hi Jeremy, I know you said just copy the line above the Rm line which is:
Deleting Covid-19 Info.pdf
But here’s the whole log as I’m wondering if it’s actually caused by the line nearer the top that says
“* SSH public key authentication failed: Unable to open public key file”
It would be nice if Freeway would sanitize all the filenames it creates, so that spaces are replaced with dashes or underscores, regardless whether they are in folder or file names.