FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 7th, 2004, 09:12 PM
pkipper pkipper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 23 pkipper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
FTP program that allows you to rename illegal filenames?

Hi guys,

I am in the middle of writing a php script, make a small error and I end up with a few filenames that contains illegal characters (such as %). The problem is, my webhost does not give me telnet access, therefore I cannot delete/rename/copy/move those files containing illegal characters unless I can do it via an FTP software.

Does anyone know which FTP software can do that for me?

Reply With Quote
  #2  
Old August 7th, 2004, 09:50 PM
codergeek42's Avatar
codergeek42 codergeek42 is offline
[Insert clever comment here.]
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Jul 2003
Location: Anaheim, CA (USA)
Posts: 6,438 codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 39542 Folding Title: Starter FolderFolding Points: 39542 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 6 Days 11 h 33 m 8 sec
Reputation Power: 1158
Send a message via ICQ to codergeek42 Send a message via AIM to codergeek42 Send a message via Yahoo to codergeek42 Send a message via Google Talk to codergeek42
Quote:
Originally Posted by pkipper
Hi guys,

I am in the middle of writing a php script, make a small error and I end up with a few filenames that contains illegal characters (such as %). The problem is, my webhost does not give me telnet access, therefore I cannot delete/rename/copy/move those files containing illegal characters unless I can do it via an FTP software.

Does anyone know which FTP software can do that for me?
FileZilla (Win32) or gFTP (*nix) might work...
__________________
~~ Peter ~~
( My Blog: It's exactly like normal nerdiness, but completely different. ) :: ( Supporter of the EFF & FSF ) :: ( I'm a GNU/Linux addict and Free Software Advocate. ) :: ( How to Ask Questions the Smart Way ) :: ( The Fedora Project, sponsored by Red Hat ) :: ( GNOME: The Free Software Desktop Project ) :: ( GnuPG Public Key )

Reply With Quote
  #3  
Old August 7th, 2004, 11:57 PM
pkipper pkipper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 23 pkipper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi codergeek42,

Thank you for the reply. I tried FileZilla, and it didn't work as well.

Reply With Quote
  #4  
Old August 8th, 2004, 03:50 PM
codergeek42's Avatar
codergeek42 codergeek42 is offline
[Insert clever comment here.]
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Jul 2003
Location: Anaheim, CA (USA)
Posts: 6,438 codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)codergeek42 User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 39542 Folding Title: Starter FolderFolding Points: 39542 Folding Title: Starter Folder
Time spent in forums: 1 Month 1 Week 6 Days 11 h 33 m 8 sec
Reputation Power: 1158
Send a message via ICQ to codergeek42 Send a message via AIM to codergeek42 Send a message via Yahoo to codergeek42 Send a message via Google Talk to codergeek42
Dang...


Have you tried deleting the files through PHP?
PHP Code:
 $illegal_file_name '%$$98-!~;:'
unlink($illegal_file_name); 
?

Reply With Quote
  #5  
Old August 8th, 2004, 11:29 PM
pkipper pkipper is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 23 pkipper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally Posted by codergeek42
Dang...


Have you tried deleting the files through PHP?
PHP Code:
 $illegal_file_name '%$$98-!~;:'
unlink($illegal_file_name); 
?
Oh yes, it worked, so stupid why I didn't think of that~~ hehe.

Filenames that contained illegal characters, but without space, unlinking them worked like a charm. However, for filename that contains a space still does not unlink.

This is the filename by the way...
diary_archive_%40_%2500%3A%25Aug%3A%25th .dat

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP program that allows you to rename illegal filenames?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT