Hi list,
I would like to access a file lopcated on a remote FTP server. But to my surprise I couldn't find anything or anyone trying to do this before. Basically I would like something similar to fetch:text(), but using ftp instead of HTTP. Is there any simple way to do this using XQuery or some library around? I can't really imagine I am the first one to try this...?
Of course I am aware I can write my own library based on Apache commons fairly easy, but I thought I would ask first.
Cheers Dirk
Dirk Kirsten ______________________________ Senacor Technologies AG D?sseldorfer Str. 13 65760 Eschborn
M +49 (151) 4435 1967
Dirk.Kirsten@senacor.com www.senacor.com
Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546 Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Gr?zinger
Diese E-Mail inklusive Anlagen enth?lt vertrauliche und/oder rechtlich gesch?tzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt?mlich erhalten, informieren Sie bitte den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail including any attachments may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the materials in this e-mail is strictly forbidden.
Hi Dirk,
there is an FTP module in our internal basex-modules repository. If you don’t have access to this repo, I could try to forward it to the list (it hasn’t been updated for a while now, though)…
Cheers, Christian
On Wed, Nov 29, 2017 at 3:44 PM, Kirsten, Dirk Dirk.Kirsten@senacor.com wrote:
Hi list,
I would like to access a file lopcated on a remote FTP server. But to my surprise I couldn’t find anything or anyone trying to do this before. Basically I would like something similar to fetch:text(), but using ftp instead of HTTP. Is there any simple way to do this using XQuery or some library around? I can’t really imagine I am the first one to try this…?
Of course I am aware I can write my own library based on Apache commons fairly easy, but I thought I would ask first.
Cheers
Dirk
Dirk Kirsten ______________________________ Senacor Technologies AG Düsseldorfer Str. 13 65760 Eschborn
M +49 (151) 4435 1967
Dirk.Kirsten@senacor.com www.senacor.com
Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546 Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Grözinger
Diese E-Mail inklusive Anlagen enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten, informieren Sie bitte den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail including any attachments may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the materials in this e-mail is strictly forbidden.
Hi Christian,
well, this at least explains why I was so sure there is such a module... I remember seeing this :) But yeah, if you could open source it and forward it, it sure would be helpful (and no, no open I am also happy to update it if there is something to be done (although I doubt it; I mean it is not like FTP has changed in the last years or decade).
Cheers Dirk
Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546 Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Grözinger
-----Ursprüngliche Nachricht----- Von: Christian Grün [mailto:christian.gruen@gmail.com] Gesendet: Mittwoch, 29. November 2017 16:01 An: Kirsten, Dirk Dirk.Kirsten@senacor.com Cc: basex-talk@mailman.uni-konstanz.de Betreff: Re: [basex-talk] FTP client
Hi Dirk,
there is an FTP module in our internal basex-modules repository. If you don't have access to this repo, I could try to forward it to the list (it hasn't been updated for a while now, though)...
Cheers, Christian
On Wed, Nov 29, 2017 at 3:44 PM, Kirsten, Dirk Dirk.Kirsten@senacor.com wrote:
Hi list,
I would like to access a file lopcated on a remote FTP server. But to my surprise I couldn't find anything or anyone trying to do this before. Basically I would like something similar to fetch:text(), but using ftp instead of HTTP. Is there any simple way to do this using XQuery or some library around? I can't really imagine I am the first one to try this...?
Of course I am aware I can write my own library based on Apache commons fairly easy, but I thought I would ask first.
Cheers
Dirk
Dirk Kirsten ______________________________ Senacor Technologies AG Düsseldorfer Str. 13 65760 Eschborn
M +49 (151) 4435 1967
Dirk.Kirsten@senacor.com www.senacor.comhttp://www.senacor.com
Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546 Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Grözinger
Diese E-Mail inklusive Anlagen enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten, informieren Sie bitte den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This e-mail including any attachments may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the materials in this e-mail is strictly forbidden.
I am also happy to update it if there is something to be done (although I doubt it; I mean it is not like FTP has changed in the last years or decade).
;) Thanks.
But yeah, if you could open source it and forward it, it sure would be helpful
True. We are still thinking about the best way how to document and distribute all our internal modules that could be made open source. That could be something for an upcoming Hackathon event…
I have attached the module (FTP.jar, based on [1]) and the two Java source files. Just tell me if you need more information.
Best, Christian
basex-talk@mailman.uni-konstanz.de