Community

MarkLogic 10 and Data Hub 5.0

Latest MarkLogic releases provide a smarter, simpler, and more secure way to integrate data.

Read Blog →

Company

Stay On Top Of Everything MarkLogic

Be the first to know! News, product information, and events delivered straight to your inbox.

Sign Me Up →

 
Knowledgebase: MarkLogic Server
How do you use the MarkLogic FTP server?
28 September 2022 11:07 AM

Summary

When interacting with the MarkLogic Support Team, there may be times when you will need to either submit or retrieve large data content to/from MarkLogic. MarkLogic maintains an ftp server for this purpose.  This article describes how to interact with the FTP server at ftp.marklogic.com. 

Note:  the ftp server will be shut down soon.  See the article How do you use the MarkLogic SFTP server?

Customer Buckets

MarkLogic personnel will need to explicitly create an incoming and/or an outgoing customer bucket for your organization. An incoming bucket is a directory to which you can submit files.  An outgoing bucket is a directory from from which you can retrieve files. Normally, customer buckets are created within the context of a support request. MarkLogic will inform you what your incoming and/or outgoing customer buckets are.  

(for the remainder of this article, we will assume the customer bucket XYZ has been created).

Logging In

Step 1. ftp to ftp.marklogic.com 

Step 2. Specify user = anonymous 

Step 3. Use your email address as your password 

You are now logged in to the MarkLogic FTP site.  From the root directory, you can see the incoming, outgoing and support subdirectories.

As a security precaution, most files and directories are not visible to the user, but will be present as described by MarkLogic Personnel. 

Submitting Content to MarkLogic

Step 1. Change the directory to your incoming customer bucket by executing the command cd support/incoming/XYZ where XYZ is your organization's customer bucket. 

Step 2. Execute the command binary to switch to binary mode.

Step 3. Submit your content to MarkLogic by executing the command put filename where filename is the name of the file to submit.

Step 4. Notify MarkLogic Support once the content submitted has transfered successfully.  This is usually done within a support case as case commentary.

Retrieving Content from MarkLogic

Step 1. Change the directory to your outgoing customer bucket by executing the command cd support/outgoing/XYZ where XYZ is your organization's customer bucket.

Step 2. Execute the command binary to switch to binary mode.

Step 3. Retrieve the files as described by MarkLogic Personnel with the command get filename where filename is the name of the file to retrieve. 

(3 vote(s))
Helpful
Not helpful

Comments (0)