Content-Type: multipart/related; boundary="------------000504010309070707030902" --------------000504010309070707030902 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
With --debug I see this XML on standard out. Are you saying that I can just redirect this output to a file and examine this output in an XML parser/editor? Is there some sort of built in capability to assist with this? Doing this the last XML outputted to stdout doesn't appear to have any unusual characters or have anything that appears unusual:
January 20, 2011 8:56 PM
The line 2 column 258083 refers to the XML received from Amazon. If you
run your s3cmd command with --debug you'll see it.
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
S3tools-general mailing list
January 20, 2011 8:36 PM
Hmmm... well, the sanitizing part doesn't seem to be working, at least not for me. I've run fixbucket on the last directory outputted to the screen and it said it fixed some characters, and I've tried deleting this directory/object from my bucket so that it would upload a new copy, and but I'm still getting:
January 20, 2011 7:08 PM
I guess the ^H character was put there by an older version of s3cmd.
s3cmd 1.0 should sanitise the filenames before upload.
On the other hand having a backspace in the filename is not a very good
idea anyway, you may just want to rename it locally.
WARNING: 1 non-printable characters replaced in: homedirs/canadianbrass/oldsite/nm_webkitold/mediaplayer/^Hmediaplayer.swf
WARNING: 1 non-printable characters replaced in: homedirs/canadianbrass/oldsite/nm_webkitold/mediaplayer/._^Hmediaplayer.swf
WARNING: 1 non-printable characters replaced in: homedirs/canadianbrass/oldsite/nm_webkitold/mediaplayer/._^Hmediaplayer.fla
WARNING: 1 non-printable characters replaced in: homedirs/canadianbrass/oldsite/nm_webkitold/mediaplayer/^Hmediaplayer.fla
ERROR: reference to invalid character number: line 2, column 258083
ERROR: Parameter problem: Bucket contains invalid filenames. Please run: s3cmd fixbucket s3://your-bucket/
I'll try deleting these files from the source directory and attempt another sync, but it would be great for the sanitize to work because I have absolutely no clue where those backspace characters came from. Is there a way to see what is in line 2, column 258083 of what I'm assuming is some sort of s3cmd tmp file?