Operating System - HP-UX
1833861 Members
1957 Online
110063 Solutions
New Discussion

Re: ftpying files with names in capitals from windows

 
Amith_2
Frequent Advisor

ftpying files with names in capitals from windows

Hello guys ,

I need to ftp around 150 files from a folder in windows to HPUNIX. I copy the files to the unix server using the ftp from the windows command prompt. I use mput option to copy all the files.
But all the files are copied to the unix serve in caps.. is there any way to convert these file names to small letters.
5 REPLIES 5
Vibhor Kumar Agarwal
Esteemed Contributor

Re: ftpying files with names in capitals from windows

Simply use the tolower() function in a loop. ;-)
Vibhor Kumar Agarwal
Peter Godron
Honored Contributor

Re: ftpying files with names in capitals from windows

Amith,
case option in ftp.

Either do a man ftp or go into ftp and type help

Peter Godron
Honored Contributor

Re: ftpying files with names in capitals from windows

Amith,
if you found the suggestions useful ...
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Amith_2
Frequent Advisor

Re: ftpying files with names in capitals from windows

Peter,

The case option is available in the unix ftp , but i am ftpying from the windows workstation and there is no "case" option over there.
Bill Hassell
Honored Contributor

Re: ftpying files with names in capitals from windows

This is a long time 'defect' in Windows. Windows treats lowercase characters as UPPERCASE in the Windows ftp server as well as other programs. You will need to look for a replacement ftp server program (not ftp client) for the Windows system.


Bill Hassell, sysadmin