Content-Type: multipart/related; boundary="------------000504010309070707030902" --------------000504010309070707030902 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Michal Ludvig
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.

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:

<ID>f382298166b851aed8fedc00a8bdbc98525ef2f73a94a7d9997ec8c531eb6826</ID><DisplayName>besson3c</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents><Contents><Key>phrygiandata/homedirs/canadianbrass/newsletter/nm_webkitcopy</Key><LastModified>2009-12-14T08:04:42.000Z</LastModified><ETag>&quot;d66759af42f282e1ba19144df2d405d0&quot;</ETag><Size>38</Size><Owner><ID>f382298166b851aed8fedc00a8bdbc98525ef2f73a94a7d9997ec8c531eb6826</ID><DisplayName>besson3c</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>'}



Michal

------------------------------------------------------------------------------
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!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general


Joe Auty
January 20, 2011 8:36 PM

Michal Ludvig
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.

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:

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?




--
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful, professional, custom designed, career-essential websites that are easy to maintain and to integrate with popular social networks.
www.netmusician.org
joe@netmusician.org

--------------000504010309070707030902 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/4QCARXhpZgAATU0AKgAAAAgABQESAAMAAAABAAEAAAEa AAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAAby AAAAGQAABvIAAAAZAAKgAgAEAAAAAQAAAB2gAwAEAAAAAQAAAB0AAAAA/9sAQwABAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEB/9sAQwEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB AQEBAQEBAQEBAQEBAQEBAQEB/8AAEQgAHQAdAwERAAIRAQMRAf/EAB8AAAEFAQEBAQEB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hhAaKPEsz hoCxXzIlwyneeRQB4tqtve61qF1qmoyefeXkplmk8oKCxAAVFHCIihURRwqqBz1oA7rwf4z1 rwjaJpkVtb3+lrPLP9nlWSGeMzHdIsFyhZUVnBfEkEwDM+MAgAA4f9pzV4td0r4Z6rDDJbpd r4wPkzFTJG8M/h+3kUlThh5kTlG4LIVYqpJUAHPWHx70OHRvD2l6n8Of7Un0DQNJ0BL7/hL7 uy+0RaVapbrN9mt9HKRec4km8syTNH5nlmaQIGoAn/4X34T/AOiU/wDl86l/8p6AD/hffhP/ AKJT/wCXzqX/AMp6APPfib8TbT4gWnhmxsfDP/CN2vhv+2fKi/tmXWPtH9sS2Ez/ADzWFnJF 5Ulk7fM8/mefgeUsQDgH/9k= --------------000504010309070707030902 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="postbox-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="postbox-contact.jpg" /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoM DAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsN FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAAR CAAdAB0DAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWG h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl 5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAw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C+rcvvO12+ltdD 1X4uf8wn/tr/AOyV92fJFbTfij/Z+nWtr/ZnmeREkW/7RjdtAGcbfagCz/wtz/qE/wDkz/8A YUAH/C3P+oT/AOTP/wBhQBzvi7xd/wAJV9k/0T7L5G//AJab927b7DH3aAP/2Q== --------------000504010309070707030902 Content-Type: image/png; name="image.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="image.png" iVBORw0KGgoAAAANSUhEUgAAAEMAAABDCAYAAADHyrhzAAAINUlEQVR4nO3a+29T5xkH8PwJ 28TFsRs2oJQOVgmoyhCsbEJtt0md9ktXTZqmijIgU1Uq1jFIoCqMQqmAcid3IAGaZiQQ2qQE OwZjmhAcEl9yoXHAx5f4fjk+Psfn2Mc++e4H166DHXNSqpLS80iPFMt6vnnfT17pOMlbBKky VfS4FzCdSsLIKgkjqySMrJIwskoUxvj4OMbHxyEIApLJJJLJJBKJRN5Ovy8IAgRByMym5x9H Rnr2W2Nkb57necTjcXAcB5ZlEY1GQdM0aJpGJBLJNE3TYBgGLMuCZVnEYjHEYjHE4/HM1+kM hmHyztM0jWg0CpZlwXFcZj47I50/WQbDMJmM9HwaKI0jCiONkEgkwPM8OI4DwzCgKAqhUAh+ vx8ejwdutxtOp3NCu91ueDwe+Hw+BAIBBINBkCSZ6WAwiEAgAJ/PlzfD5XLlZIRCoYIZLpcr b4bX683MUxSFaDQKjuPA8/ykKEUPQqRPAsdxoGkaJEnC5/NhxGyG5sZNNDZdQEVVLQ4ePpa3 T1bWoOHcJ+i4qoTRZILVaoXNZoPVagUx8iUs/Sdg6doI4vorsHa+kLcJzauwdG+CxVgPYlT3 TQZxH8TIDVj6DsDStb5AxnIQN/4Movst2Abq4bQPwu/3IxwOg2EYxGIx8DyfA1L0IEQ8HgfL sqAoKoPwefsXOHK8Avs/PjKlPnT0BP7Xchk3r7ditLsMROdyWFVLptQW9RoMd+2F6XYjRrSb QHS+MPUMzauw6I9jzH4Pfr8fFEWBZdnMKUmDFD0IEY1GQZ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