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?


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 19, 2011 9:50 PM

Michal Ludvig
January 19, 2011 9:12 PM

Hi Joe,


It may or may not fix it. In your case it should replace the "^H" character (which is a backspace) by something more sane, perhaps underscore.

That's cool, but after my next sync won't it just replace this filename with the filename with the ^H again with no manually provided exclude list?




Michal
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general


Joe Auty
January 19, 2011 12:17 AM

Hello,

Using the latest 1.0 release of s3cmd I'm getting the following error message:


Will this fixbucket command indeed fix this problem? What does this command do, exactly? As it turns out I don't care about salvaging this particular file, but it would be nice to know more about this problem because I'm fairly certain that I've run into this before as well.

Thanks in advance for your help!


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general


Michal Ludvig
January 19, 2011 9:12 PM

Hi Joe,


It may or may not fix it. In your case it should replace the "^H" character (which is a backspace) by something more sane, perhaps underscore.

Michal
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general


Joe Auty
January 19, 2011 12:17 AM

Hello,

Using the latest 1.0 release of s3cmd I'm getting the following error message:


Will this fixbucket command indeed fix this problem? What does this command do, exactly? As it turns out I don't care about salvaging this particular file, but it would be nice to know more about this problem because I'm fairly certain that I've run into this before as well.

Thanks in advance for your help!


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general



--
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
j...@netmusician.org


------------------------------------------------------------------------------
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

Reply via email to