[opencms-dev] importing files on remote site when opencms sits on remote site
Joe Desbonnet
jdesbonnet at gmail.com
Fri Apr 21 00:47:12 CEST 2006
Actually this would be a useful feature. Whenever I write software to
upload an image from a web form I usually provide two mechanisms:
1. The traditional browse from disk (which OpenCms has)
2. Get from URL
Option #2 is very, very useful for images. Often you need to upload an
image that's already on a web page.
With option #1 you need to save to disk. Remember where you saved it.
Then browse to that file in the upload form.
With option #2 (using Firefox), just right click on the image, select
"Copy Image Location" then paste into the URL box. This has the added
advantage that the the server does the copy operation.
To answer your question:
If your server is a unix like machine (eg Linux) you could try the
OpenCms FTP module which was mentioned here a few days ago and try
telnet/ssh into the server and use the command line FTP tool to upload
into OpenCms.
Alternatively it should be possible with a bit of work to write a
script/module to upload files by specifying a URL.
Joe.
On 4/20/06, Christoph P. Kukulies <kuku at physik.rwth-aachen.de> wrote:
> Is there a way to import a single file or a set of files
> which are residing on the remote machine when opencms runs on just that
> remote machine?
>
> I sit at my notebook. Uploading files to the server at the
> remote machine only works when the file is on my notebook filesystem.
>
> Importing seems only be possible with .zip files in the remote
> package directory. The remote machine doesn't seem to have a zip binary
> and I'm not sure whether one can import just a zip file without a manifext.xml.
>
> Any clues other than copying the remote files to my notebook and then
> upload it with the java applet?
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list