RE: Format of uploaded files
RE: Format of uploaded files
- Subject: RE: Format of uploaded files
- From: "Kranthi Sagar Borra" <email@hidden>
- Date: Sat, 10 Jan 2004 19:27:37 +0530
- Thread-topic: Format of uploaded files
Hi Cyril,
Thanks for you respose.I tried the following files.I am working on MAC OSXcan you please tell me if something is wrong on my side.
1. xyz.app : this is an application bundle.If the file is a folder then it does'nt allow the user to upload because folder upload is not possible.But what if the file is an application bundle.Its allowing the user to upload the file though it is a directory.But the upload file is a file and not the application bundle.But for the user, it appears that the entire bundle got uploaded and when he tries to download he find just a file.So is there any way by which we can restrict bundle uploads too.
2. MyScript : .Its of the kind "compiled script".Its filename is just MyScript and it doesnt have any extension.Its opened with Script Editor by default.When this is uploaded it is getting uploading as of kind "Document".And so when I download it , it is getting downloaded as a document.can you please tell me where I am going wrong.
Regards,
Kranthi Sagar
> ----------
> From: Cyril Godefroy
> Sent: Saturday, January 10, 2004 5:30 PM
> To: email@hidden
> Subject: Re: Format of uploaded files
>
> A file is a file is a file:
>
> There is no such thing as a file type if you upload it. It's just a
> bunch of bytes or a data. So the answer to your question is that
> WebObjects supports all file types.
>
> A file is also a name. In a name you'll find an extension which usually
> describes the file type. If you save the array of bytes in a file which
> has a nice name with a nice extension, it will inherit the type. Even
> if you save an empty array of bytes in a file with an extension, it
> will have a type (at least on OS X and Windows).
>
> You'll have to give more details regarding the issue you are facing,
> such as: OS, file types uploaded, file names used to save the files.
> Examples would be a plus.
>
> Cyril
> On 10 janv. 04, at 10:59, Kranthi Sagar Borra wrote:
>
> > Hi
> > I am using the http streamlining functionality to upload files.When I
> > upload files of type "compiled scripts", they are getting stored as
> > type "Document".Is this file type not supported by webobjects.The same
> > happened with some other file formats too.Can somebody please tell me
> > what are the supported formats and how are the files with the
> > unsupported formats saved.Thank you.
> >
> > Thanks,
> > kranthi
> > _______________________________________________
> > webobjects-dev mailing list | email@hidden
> > Help/Unsubscribe/Archives:
> > http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> > Do not post admin requests to the list. They will be ignored.
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.