Re: problem with Minor Dependent Classes naming convention

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: problem with Minor Dependent Classes naming convention

Satguru Srivastava
Sorry for this long post but here's a followup on this problem....

I wrote to tripod regarding this problem and here is what they replied..
and if what they say is true I wonder about the java portability stuff..

===============================================================
Greetings Satguru,

I'm sorry but a $ in a file name is an illegal charachter in a UNIX
based system such as Tripod's.


Take care.

Mike
Membership Services
Tripod, Inc. / A Division of Lycos

Bookmark your Tripod membership, one stop navigation
at;
http://www.tripod.com/tripod/bookmarks/ 




Original message follows:
-------------------------

Hi,

My tripod memberid is xxxxxx.

I am having problems uploading some of my applets java class files to my
site.

In java there is something called INNER CLASSES.
If one uses them the java compiler creates files with a '$' in the
filename. eg. myApplet$Canvas.class.

When I try to upload such files I get the following message from the ftp
server

553 Permission denied. Filename 'myApplet$Canvas.class' is illegal.

Why doesn't the tripod ftp server allow file with $ in their filename ?

Would appreciate any help with this.

Thanks
Satguru
==================================================================
Original post to Netrexx

>>> "Satguru Srivastava" <[hidden email]> 11/09/99 01:25PM >>>
I am having problems uploading some java class files up onto my internet
site  because of the way the classes are named.

Let's say I have an applet which has two classes Class A & Class B.
Further lets say that class B is a MINOR DEPENDENT CLASS of class A.
 
When the netrexx pgm is compiled the compiler creates two class files
named as A.class and A$B.class.

When I try to upload A$B.class to my site( using lets say FTP) I get an invalid file name error message from the server. I tried a couple of sites and got the same result.
If I remove the $ sign from the filename I am able to upload the file.

How do I handle this ?
Would appreciate any suggestions.

Thanks
Satguru



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: problem with Minor Dependent Classes naming convention

Satguru Srivastava
Hi Mike,
Sorry if I wasn't very clear.
By portability what  I meant was this.
Let's say I have developed a Java appliaction  on platform A.
This application uses Inner Classes so I have classes with $ in them.
I want to transfer the classes to platform B so that I can run the application  there.
Platform B does not like $. I am stuck !!
Ofcourse I can get around by using facility like Jar but that's not the point.

As far as Unix is concerned I have no idea about it. I haven't worked on unix.
I am basically a mainframer, an MVS guy  and I know MVS has no problem with $. :-)

Thanks
Sat



>>> <[hidden email]> 11/12/99 12:37AM >>>


Did your post miss something .. they don't seem to talk about portability.

[First time I ever heard of a Unix system that doesn't accept $, by the way ..
and Java was originally developed on Unix....]

Mike

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow
mailto:[hidden email]  --  http://www2.hursley.ibm.com 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>