Pradeep

I see your regular helpers haven't jumped in yet with their more current knowledge of CS IP FTP - so I'll have a go with this one.

I think you'll find that attaching your "userid" to the file names is *not* FileZilla behaviour but usual z/OS behaviour. Unless you indicate that the file name you provide is complete by enclosing it in quotation marks, z/OS will assume that you are referring to files which "belong to you" which it assumes means that your "userid" is the highest level element of the file name.

After writing this I bothered to turn to my presentation notes of well over 10 years ago on TCP/IP for MVS (as CS IP was known back then) FTP. I found the following which I expect is still correct on the basis of the IBM rule that "what worked once will always work":

<quote>

                                         root
                                       directory
                  ---------------------------------------------------
                  |         |         |         |         |         |
              directory   file      file    directory   file      file
             -----------                   -----------
             |         |                   |         |
           file      file              directory   file
                                      -----------
                                      |         |
                                    file      file

The model for FTP file identification is, naturally enough, the UNIX (or AIX) model. Consequently an unqualified directory is the "root" directory and the directory structure is as shown in the diagram.

The TCP/IP for MVS implementation of FTP treats the level qualifiers in an MVS data set name as defining directories.

Initially the userid used to logon is defined as the current single and highest level "pseudo-directory". This may be changed with CD .. and CD name commands.

</quote>

Taking note of that last paragraph, I see I remembered more-or-less correctly.

I expect that if you enter a PWD command immediately after logging on to FTP you will see that your "userid" is the apparent "present working directory".

You should be able to prevent your "userid" being prepended to the file name by using the CD .. command - as will be familiar to you from working with the Windows command environment or UNIX - or Unix System Services I expect.

The last paragraph from my presentation material notes is as follows which covers the quotation marks possibility.

<quote>

All is not lost, however, for those who have become lost trying to follow this "mapping" between UNIX concepts and MVS concepts, since full data set names can be given, including the identification of members in partitioned data sets, by using the conventional name, fully qualified, enclosed in single quotation marks.

</quote>

P.S. Regarding John's point about FileZilla being very much like the FTP function in FireFox, I can't help noting that they very probably come from the same "stable" - but only based on the name since I see that FileZilla is *not* advertised as a Mozilla product at http://www.mozilla.org/ .

Chris Mason

----- Original Message ----- From: "Pradeep_Vasudevan" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Monday, May 07, 2007 5:58 PM
Subject: Re: FTP from a Windows PC to Mainframe server


Hi All!

Its great that Filezilla has worked out. But it always prefixes with the
Mainframe Logon ID. For example, when I upload 'GG1.CSV' from my Windows
desktop to the Mainframe server, it gets uploaded as 'USERID.GG1.CSV'.
Can we change the name to 'ABC.DE.SAMF' while uploading the file from
Filezilla?


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of McKown, John
Sent: Tuesday, May 01, 2007 7:35 PM
To: [email protected]
Subject: Re: FTP from a Windows PC to Mainframe server

I haven't tried it very much, but FireFox now has a ftp client (plug in)
that looks fairly nice. Much like FileZilla, in fact.

--
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to