Removing FTP letter restrictions

Discuss all hardware and software modifications
itsmattxp
128-bit
Posts: 600
Joined: Mon Aug 31, 2009 11:18 am

Removing FTP letter restrictions

Post by itsmattxp »

A few weeks ago I made a topic regarding FTP speeds and different FTP programs. Now I come across another problem and that is letter restrictions. I was wondering if there are any programs that have no restrictions on file name length or special characters like a hyphen. Its really time consuming to have to go through each ROM and rename a few so that they fit when I have no idea what are the name criteria of FlashFXP. I am currently using and EVOX dashboard and FlashFXP. Thanks!

Edit: Is there a program that can rename the files?
gtmtnbiker
Next-Gen
Posts: 4320
Joined: Fri Jan 09, 2009 1:14 pm
Location: Massachusetts

Re: Removing FTP letter restrictions

Post by gtmtnbiker »

That's a restriction of the xbox file system that is on the xbox, not the ftp program.

http://forums.xbox-scene.com/index.php?showtopic=186582
itsmattxp
128-bit
Posts: 600
Joined: Mon Aug 31, 2009 11:18 am

Re: Removing FTP letter restrictions

Post by itsmattxp »

Any program that can detect a file that is 42 letters or longer? Right now I'm counting the letters on the games but seems pretty heavy on the eyes. Thanks!
User avatar
MrPopo
Moderator
Posts: 24190
Joined: Tue Aug 26, 2008 1:01 pm
Location: Orange County, CA

Re: Removing FTP letter restrictions

Post by MrPopo »

itsmattxp wrote:Any program that can detect a file that is 42 letters or longer? Right now I'm counting the letters on the games but seems pretty heavy on the eyes. Thanks!
Easiest way would be a quick perl script.
Blizzard Entertainment Software Developer - All comments and views are my own and not representative of the company.
itsmattxp
128-bit
Posts: 600
Joined: Mon Aug 31, 2009 11:18 am

Re: Removing FTP letter restrictions

Post by itsmattxp »

MrPopo wrote:
itsmattxp wrote:Any program that can detect a file that is 42 letters or longer? Right now I'm counting the letters on the games but seems pretty heavy on the eyes. Thanks!
Easiest way would be a quick perl script.
No idea what that is, elaborate please?
Hatta
Next-Gen
Posts: 4030
Joined: Tue May 06, 2008 8:33 pm

Re: Removing FTP letter restrictions

Post by Hatta »

I'd use Bash. You'll probably need Cygwin unless you're on a Mac.

Something like this would work:

mkdir toolong
for each in *; do if [$(basename $each | wc -c) -gt 42]; then mv "$each" toolong; fi; done
We are prepared to live in the plain and die in the plain!
itsmattxp
128-bit
Posts: 600
Joined: Mon Aug 31, 2009 11:18 am

Re: Removing FTP letter restrictions

Post by itsmattxp »

Hatta wrote:I'd use Bash. You'll probably need Cygwin unless you're on a Mac.

Something like this would work:

mkdir toolong
for each in *; do if [$(basename $each | wc -c) -gt 42]; then mv "$each" toolong; fi; done
So I just download Cygwin and use that command?
Hatta
Next-Gen
Posts: 4030
Joined: Tue May 06, 2008 8:33 pm

Re: Removing FTP letter restrictions

Post by Hatta »

I didn't test it, but it should work. I omitted a few quotes that I think will be necessary. Try this one:

mkdir toolong
for each in *; do if [$(basename "$each" | wc -c) -gt '42']; then mv "$each" toolong; fi; done

Make sure you execute it from within the directory with all your roms, and make a backup of your roms folder just in case.
We are prepared to live in the plain and die in the plain!
User avatar
Anapan
Next-Gen
Posts: 3946
Joined: Mon Nov 17, 2008 11:15 am
Location: BC, Canada

Re: Removing FTP letter restrictions

Post by Anapan »

I just switched to a fixed-width font and resized the window to the right width. Anything with too many letters gets cut off.
ImageImageImageImage
ImageImageImageImage
itsmattxp
128-bit
Posts: 600
Joined: Mon Aug 31, 2009 11:18 am

Re: Removing FTP letter restrictions

Post by itsmattxp »

Just tried to cygwin and have no idea how to use it or even get to the command screen. I then tried to do Anapan's method and after about 10 minutes my eyes started to hurt. Help me out on the cygwin method please, thanks!
Post Reply