Operating System - HP-UX
1833847 Members
2152 Online
110063 Solutions
New Discussion

Re: Downloading files with "Windows Naming Convention"

 
SOLVED
Go to solution
Sanjay Verma
Super Advisor

Downloading files with "Windows Naming Convention"

Hi Friends,
I've a file called "Installation Steps.doc" in the unix folder. Note the "space" between the words. What's the quickest way I can donwload or ftp the file on my pc??
Co-operation - The biggest chain reaction
8 REPLIES 8
Tim Adamson_1
Honored Contributor
Solution

Re: Downloading files with "Windows Naming Convention"

Use "mget install*"

On PC:
ftp
cd
prompt
bin
mget install*
or
mput install*

depending if you want to get or put the file on the Unix server or PC.

You will get the drift!

Tim
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
T G Manikandan
Honored Contributor

Re: Downloading files with "Windows Naming Convention"

ftp unix-machine
cd
ftp>mget *.doc
Installation Steps.doc?y

ftp>bye


Sanjay Verma
Super Advisor

Re: Downloading files with "Windows Naming Convention"

Hi Friends, The problem is I'm unable to open the file on my pc. The following error msg is received - "The document name or path is not valid - Check file permissions or use the file open dialog to locate the document..".

My initial thought was the I'm downloading in a wrong way but now have tried your steps too but it's still giving the same error msg. I've verified and the document is ok on the Unix folder.
Co-operation - The biggest chain reaction
T G Manikandan
Honored Contributor

Re: Downloading files with "Windows Naming Convention"

IS the doc on the unix machine.

Then do a ftp to the unix mahcine

cd to the file path.
do a mget *.doc


make sure that the file is downloaded to the PC.
check for the file size.

Else you can use a tool which could be user -friendly like WSFTP.

http://www.ftpplanet.com/download.htm
Bill Hassell
Honored Contributor

Re: Downloading files with "Windows Naming Convention"

You can try to force ftp to include imbedded spaces by using

get "Installation Steps.doc"

but this requires non-standard filename support on both ends. Imbedded spaces are a very big problem even in Windows (you'll see such filenames enclosed in "..." in dialog boxes. The problem is that ftp thinks you are trying to download a file called Installation and store it on your PC with the new name Steps.doc which is exactly how the get/put commands are parsed. I would recommend using standard filenames (no special characters, especially spaces) for all your files.


Bill Hassell, sysadmin
Robert-Jan Goossens
Honored Contributor

Re: Downloading files with "Windows Naming Convention"

Hi,

You can use tar.

# tar -cvf doc.tar Installation*.doc

# from your windows pc use ftp as discribed above and use winzip to decompresse.

Hope it helps,

Robert-Jan.
Sanjay Verma
Super Advisor

Re: Downloading files with "Windows Naming Convention"

Thanks for all the inputs. Although I'm still trying all the available options and see if that works fine. Will update again when I've managed to resolve this issue .
Co-operation - The biggest chain reaction
Sanjay Verma
Super Advisor

Re: Downloading files with "Windows Naming Convention"

Friends, To me it looks as if it's related with file corruption but has not been able to confirm this since it's on a remote system and I'm trying to get in touch with the app. owner. But really appreciate for all your inputs. All are 100% right. Cheers - Sanjay.
Co-operation - The biggest chain reaction