Hi All, Is there any way I can get Zope to automatically update and show files in a folder (as in the file sharing example) without going through the upload procedure. I want to be able to upload with FTP and have the files shown. TIA Ian Firmin
I may not be understanding you completely, but it sounds like you just need to upload the files into you folder using Zope's FTP server. Kevin Ian Firmin wrote:
Hi All, Is there any way I can get Zope to automatically update and show files in a folder (as in the file sharing example) without going through the upload procedure. I want to be able to upload with FTP and have the files shown. TIA Ian Firmin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I've tried this. They go into the folder all right but are not shown in a view. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kevin Carlson Sent: 10 January 2003 19:52 To: Ian Firmin Cc: zope@zope.org Subject: Re: [Zope] More File Sharing I may not be understanding you completely, but it sounds like you just need to upload the files into you folder using Zope's FTP server. Kevin Ian Firmin wrote:
Hi All, Is there any way I can get Zope to automatically update and show files in a folder (as in the file sharing example) without going through the upload procedure. I want to be able to upload with FTP and have the files shown. TIA Ian Firmin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
What type of file are they? You'll probably need to change the 'view' to make sure that it includes the metatypes you need.
I've tried this. They go into the folder all right but are not shown in a view. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Kevin Carlson Sent: 10 January 2003 19:52 To: Ian Firmin Cc: zope@zope.org Subject: Re: [Zope] More File Sharing I may not be understanding you completely, but it sounds like you just need to upload the files into you folder using Zope's FTP server. Kevin Ian Firmin wrote:
Hi All, Is there any way I can get Zope to automatically update and show files in a folder (as in the file sharing example) without going through the upload procedure. I want to be able to upload with FTP and have the files shown. TIA Ian Firmin
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Ian Firmin wrote at 2003-1-10 19:23 -0000:
Is there any way I can get Zope to automatically update and show files in a folder (as in the file sharing example) without going through the upload procedure. I want to be able to upload with FTP and have the files shown. Zope usually does this automatically.
Are you sure, the old view is not caused by an HTML cache? Force your browser to reload the page. If this gives you the correct view, it is a caching problem. You control caching by cache control headers. There is a HowTo on Zope.org. Dieter
I must be missing something basic here. I am using the Zope "file sharing" example. If I add files by FTP there are shown in the "files" folder with the manage view but not when I view the page as html in a browser. If I add files using the "upload a file" script it's shown in the html view. It's nothing to do with cacheing. -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dieter Maurer Sent: 11 January 2003 18:46 To: Ian Firmin Cc: zope@zope.org Subject: Re: [Zope] More File Sharing Ian Firmin wrote at 2003-1-10 19:23 -0000:
Is there any way I can get Zope to automatically update and show files in a folder (as in the file sharing example) without going through the upload procedure. I want to be able to upload with FTP and have the files shown. Zope usually does this automatically.
Are you sure, the old view is not caused by an HTML cache? Force your browser to reload the page. If this gives you the correct view, it is a caching problem. You control caching by cache control headers. There is a HowTo on Zope.org. Dieter _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Ian Firmin wrote at 2003-1-12 17:29 -0000:
I am using the Zope "file sharing" example. If I add files by FTP there are shown in the "files" folder with the manage view but not when I view the page as html in a browser. I do not understand, what "shown with manage view" and "view as html" means.
After your FTP (with target "files"), you see them all in your "files" folder, right? You click on one of your files, see a "View" tab, click on it, and you see the content of the uploaded file. Right? Look at the URL shown by your browser when you view this content. This is the URL, you can use directly to view your file contents. Dieter
Hi Dieter, I am using the example "File Sharing" application that comes with Zope. This uses a script to upload files and display them. They are not displayed unless they are uploaded via the script. I will try to understand the script so that I can see where it keeps the record of which file has been uploaded. Thanks Ian Firmin
-----Original Message----- From: Dieter Maurer [mailto:dieter@handshake.de] Sent: 13 January 2003 18:47 To: Ian Firmin Cc: zope@zope.org Subject: RE: [Zope] More File Sharing
Ian Firmin wrote at 2003-1-12 17:29 -0000:
I am using the Zope "file sharing" example. If I add files by FTP there are shown in the "files" folder with the manage view but not when I view the page as html in a browser. I do not understand, what "shown with manage view" and "view as html" means.
After your FTP (with target "files"), you see them all in your "files" folder, right?
You click on one of your files, see a "View" tab, click on it, and you see the content of the uploaded file. Right?
Look at the URL shown by your browser when you view this content. This is the URL, you can use directly to view your file contents.
Dieter
participants (4)
-
Dieter Maurer -
Ian Firmin -
Kevin Carlson -
phil@harris-family.info