Subject: | |
From: | |
Reply To: | |
Date: | Thu, 9 Oct 1997 21:01:02 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Pedro Gonzalez wrote:
>
> I have a PC application that uses FTP from a Windows client to copy files
> that reside on a 3k. I can only read true 3k files with eight character
> names. Even if the files are on a posix directory I get an error when I try
> to read posix files that do not conform to the 3k naming conventions.
> Does anyone know how I can use FTP to read true posix files from a 3k
> machine.
> Thanks
Hi, Pedro
If you want to refer to a posix filename, you should always start the
filename with a slash "/" or period-slash "./"
Without these characters the filename will be restricted by the MPE
naming conventions.
Just like on a PC, a slash (or backslash) as the first character is used
to indicate an absolute file path which must always start from the
account (or root) level.
For example:
/MYACCT/MYGROUP/PosixDir/Posix_filename
Similarly, a period-slash is merely a shorthand notation for the current
working directory. Use the "pwd" command on your ftp client to verify
what is the current remote directory
ftp> pwd
257-"/MYACCT/MYGROUP" is the current directory.
257 "MYSELF,MANAGER.MYACCT,MYGROUP" is the current session.
ftp> get /MYACCT/MYGROUP/PosixDir/Posix_filename c:\files\zz.dat
or
ftp> get ./PosixDir/Posix_filename c:\files\zz.dat
Also remember that Posix file names are case sensitive. If you have any
MPE parts (account or group name) in the filename, be sure to type it in
uppercase.
Hope this helps you,
Heimo Kouvo
Kaakontieto, Finland
[log in to unmask]
|
|
|