<![CDATA[ Something Like FileDownload But For A Remote Server - My Forums]]> https://forums.modx.com/thread/?thread=38311 <![CDATA[Re: Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217186
Quote from: silent at Aug 10, 2006, 03:18 PM

Simply put, the item on the wishlist should be named FTP-Snippet.
FTP-integration, as far as I can see, could be really an issue for MODx’ future, by the way ... wink

Not necessarily, it’s possible to solve this issue with a static listing taken from the remote server in another way. But yes, some FTP-capable snippets would be a big help. It’s very doable as the FTP functions of PHP are available to us.]]>
PaulGregory Aug 11, 2006, 05:00 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217186
<![CDATA[Re: Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217185 Quote from: PaulGregory at Aug 09, 2006, 05:12 PM

You are really not a coder and you never will be. Sorry.

Thanks for your nice opinion! What if I never tried to be (or become) a coder? wink
But here´s neither the time nor the place to discuss this!

Quote from: PaulGregory at Aug 09, 2006, 05:12 PM

This snippet lists files from a directory. Without directory listing, where is the list of files coming from?

Perhaps you are thinking we are saying "subfolders". No. We are saying "directory listing".

My intention was to express something different.

Quote from: PaulGregory at Aug 09, 2006, 05:12 PM

This is so far removed from FileDownload support that I am modding it out to a new thread in Wishlist.
EDIT: Done.

Right. If people want to discuss ways of solving simon79’s issue, please continue that here.

Thanks... I´m out.]]>
simon79 Aug 11, 2006, 02:36 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217185
<![CDATA[Re: Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217184 FTP-Snippet.
FTP-integration, as far as I can see, could be really an issue for MODx’ future, by the way ... wink]]>
silent Aug 10, 2006, 10:18 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217184
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217183
This snippet lists files from a directory. Without directory listing, where is the list of files coming from?

Perhaps you are thinking we are saying "subfolders". No. We are saying "directory listing".

This is so far removed from FileDownload support that I am modding it out to a new thread in Wishlist.
EDIT: Done.

Right. If people want to discuss ways of solving simon79’s issue, please continue that here.
]]>
PaulGregory Aug 09, 2006, 12:12 PM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217183
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217182 Quote from: PaulGregory at Aug 09, 2006, 03:24 PM

Quote from: simon79 at Aug 09, 2006, 08:02 AM

The FileDownload snippet has all features I need, but I moved my filestorage to another domain and now I´m looking for a possibility to get it working... It needs to work with the group-permissions and don´t need to work with features like directory listing etc...

No existing snippet or easy way to modify FileDownload?

Without the directory listing, what exactly would it do? Directory is another word for folder.
And how will group permissions work cross-domain?

directory listing -> I don´t need that visitors of my site can use this.
group permission -> Group permissions are set on my first domain. This domain should include the files visitors have the permissions to see / download.

See my last post -> maybe sb can change the path in filedownload.inc.php using the ftp-function...

Quote from: PaulGregory at Aug 09, 2006, 03:24 PM

I think you are barking up the wrong tree entirely. Just because a snippet is called FileDownload does not mean it can be easily adapted to download files from anywhere.

I think it´s not that difficult to modify. But unfortunately I´m not a coder.

Quote from: PaulGregory at Aug 09, 2006, 03:24 PM

Is there any particular reason that you can’t run FileDownload (or similar) on the actual box with the files on it?

Yes. No webspace!

Quote from: PaulGregory at Aug 09, 2006, 03:24 PM

Why did you move your filestorage?

Because I need the domain running (no time to change the provider).]]>
simon79 Aug 09, 2006, 11:29 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server?page=2#dis-post-217182
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217181 Quote from: simon79 at Aug 09, 2006, 08:02 AM

The FileDownload snippet has all features I need, but I moved my filestorage to another domain and now I´m looking for a possibility to get it working... It needs to work with the group-permissions and don´t need to work with features like directory listing etc...

No existing snippet or easy way to modify FileDownload?

Without the directory listing, what exactly would it do? Directory is another word for folder.
And how will group permissions work cross-domain?

I think you are barking up the wrong tree entirely. Just because a snippet is called FileDownload does not mean it can be easily adapted to download files from anywhere.

Is there any particular reason that you can’t run FileDownload (or similar) on the actual box with the files on it?

Why did you move your filestorage?]]>
PaulGregory Aug 09, 2006, 10:24 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217181
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217180


Is this easy and possible:

- change the file-root (assets/files to ftp:www.myfiles.com) and use the php ftp-function to get the files from the other server?

Sorry, I´m no coder...]]>
simon79 Aug 09, 2006, 09:48 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217180
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217179 Quote from: sottwell at Aug 07, 2006, 09:31 AM

Yes, using the PHP ftp functions.

http://il2.php.net/ftp

Mhhh.... Thanks for your reply!

It seems to be more difficult than I though...

The FileDownload snippet has all features I need, but I moved my filestorage to another domain and now I´m looking for a possibility to get it working... It needs to work with the group-permissions and don´t need to work with features like directory listing etc...

No existing snippet or easy way to modify FileDownload?]]>
simon79 Aug 09, 2006, 03:02 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217179
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217178
http://il2.php.net/ftp]]>
sottwell Aug 07, 2006, 04:31 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217178
<![CDATA[Something Like FileDownload But For A Remote Server]]> https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217177 simon79 Aug 07, 2006, 02:33 AM https://forums.modx.com/thread/38311/something-like-filedownload-but-for-a-remote-server#dis-post-217177