{"_id":"5a3a57f6b1490c001c18209b","project":"5773dcfc255e820e00e1cd4d","version":{"_id":"5773dcfc255e820e00e1cd50","__v":26,"project":"5773dcfc255e820e00e1cd4d","createdAt":"2016-06-29T14:36:44.812Z","releaseDate":"2016-06-29T14:36:44.812Z","categories":["5773dcfc255e820e00e1cd51","5773df36904b0c0e00ef05ff","577baf92451b1e0e006075ac","577bb183b7ee4a0e007c4e8d","577ce77a1cf3cb0e0048e5ea","577d11865fd4de0e00cc3dab","578e62792c3c790e00937597","578f4fd98335ca0e006d5c84","578f5e5c3d04570e00976ebb","57bc35f7531e000e0075d118","57f801b3760f3a1700219ebb","5804d55d1642890f00803623","581c8d55c0dc651900aa9350","589dcf8ba8c63b3b00c3704f","594cebadd8a2f7001b0b53b2","59a562f46a5d8c00238e309a","5a2aa096e25025003c582b58","5a2e79566c771d003ca0acd4","5a3a5166142db90026f24007","5a3a52b5bcc254001c4bf152","5a3a574a2be213002675c6d2","5a3a66bb2be213002675cb73","5a3a6e4854faf60030b63159","5c8a68278e883901341de571","5cb9971e57bf020024523c7b","5cbf1683e2a36d01d5012ecd"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5a3a574a2be213002675c6d2","project":"5773dcfc255e820e00e1cd4d","version":"5773dcfc255e820e00e1cd50","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-12-20T12:27:54.317Z","from_sync":false,"order":3,"slug":"bring-your-data","title":"Bring your private data"},"user":"566590c83889610d0008a253","githubsync":"","__v":0,"parentDoc":null,"metadata":{"title":"","description":"","image":[]},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-12-20T12:30:46.197Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"##Overview\n\n**The FTP/HTTP(S) import feature copies files from a public or private FTP or HTTP(S) server to Cavatica.** Upload a single file, a directory (in the case of FTP), or a list of URLs (in the case of HTTP(S)). They are uploaded in the same job.\n\nThis feature runs in the background on Cavatica and does not depend on your local network speed. This allows you to multitask as your files are added to your project.\n\n##Use the import feature\n\n  1. [Navigate](doc:access-a-project) to the project to which you're importing files.\n  2. Select the **Files** tab and then click **+ Add Files**.\n  3. Click **FTP/HTTP**, as shown below.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0161f1a-ftp-http.png\",\n        \"ftp-http.png\",\n        1039,\n        555,\n        \"#f1f2f3\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\n  4. Type in or paste the URL of the file(s) you want to import. Or, click **Browse** to navigate to a text file on your computer containing the URLs.\n\n5. *Optional:* Enter tags in the **Tag files** box. This makes it easier to visually identify and organize files. Separate tags with commas or by hitting the return key. All tags which are already in the selected project are autosuggested in the drop-down menu. Learn more about [tagging your files](tag-your-files).\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/e72879b-tag-your-files.png\",\n        \"tag-your-files.png\",\n        1036,\n        545,\n        \"#e7e9e9\"\n      ]\n    }\n  ]\n}\n[/block]\n6. **Resolve naming conflicts** - Select the action to be taken if a naming conflict occurs. Available actions are **Skip** (default option), **Auto-rename** and **Overwrite**. Read more about naming conflicts resolution [below](#section-resolving-naming-conflicts).\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"* Allowed characters in **file names** are all alphanumerics and special characters except slash (`/`). File names can’t be longer than 255 characters.\\n* Allowed characters in **folder names** are `a-z`, `A-Z`, `0-9`, and special characters (`_`), (`-`), and (`.`). Folder names can’t be longer than 255 characters.\"\n}\n[/block]\n7. **Preserve folder structure** - If enabled, the imported items will be an exact mirror of the file/folder structure on the server. Otherwise, the items will be \"flattened\" when imported from the server, i.e. only files will be imported, with no folder structure.\n8. Click **Import** to start the upload.\n9. Click **Import more files** if you have more URLs to import. If you're finished uploading, click **Done** to close the dialog.\n\n##During upload\n\nTrack the import progress under the import status icon on the right-hand side of the main menu.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/52c5af0-during-upload.png\",\n        \"during-upload.png\",\n        674,\n        327,\n        \"#eeeff0\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\n When the upload completes, review your files in the **Files** tab of your project.\n\n##Accessing password-protected FTP and HTTP(S) servers\n\nThe FTP/HTTP(S) tool can submit usernames and passwords to the server. To do this, you should include the username and password in the links that you pass to the tool, using the standard HTTP syntax: `http://username:password:::at:::example.org/sample/`.\n\nPasting in a link formatted in this way will attempt to authenticate with the server `example.org` using the credentials `username` and `password` and then try to fetch everything that is hosted under the `directory/sample/`.\n\n## RESOLVING NAMING CONFLICTS\n\nNaming conflicts happen when you try to import an item (file or folder) from an FTP/HTTP server to a project's root folder or subfolder, where an item with the same name already exists. The list below illustrates the possible cases of naming conflicts and the way they are resolved depending on which option is selected in the **Resolve naming conflicts** dropdown:\n\n1. Importing a **file** that has the same name as an existing **file** at the destination path:\n    * **Skip** (default): The file won't be imported. This is the default behavior.\n    * **Auto-rename**: The imported file will be automatically renamed by adding a prefix (underscore and serial number).\n    * **Overwrite**: The existing file will be overwritten by the file imported from the server.\n2. Importing a **file** that has the same name as an existing **folder** at the destination path:\n    * **Skip** (default): The file won't be imported.\n    * **Auto-rename**: The imported file will be automatically renamed by adding a prefix (underscore and serial number).\n    * **Overwrite**: The file won't be imported.\n3. Importing a **folder** that has the same name as an existing **folder** at the destination path:\n    * The content of the folder that is being imported will be merged with the content of the existing folder, regardless of the option selected in the **Resolve naming conflicts** dropdown. Any conflicts related to files within the folders will be handled according to file naming conflict resolution rules described above.\n4. Importing a **folder** that has the same name as an existing **file** at the destination path:\n    * The folder and the files it contains won't be imported. This is the default, non-configurable behavior, regardless of the option selected in the **Resolve naming conflicts** dropdown.\n\nThe following table illustrates the entire naming conflict resolution mechanism:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/b10db9e-conflict-resolution-matrix.png\",\n        \"conflict-resolution-matrix.png\",\n        471,\n        296,\n        \"#f1f1f1\"\n      ]\n    }\n  ]\n}\n[/block]\n##Troubleshooting\nIf the Cavatica FTP/HTTP(S) import feature fails to upload all the files whose links you provided, please retry by providing shorter lists of links.","excerpt":"","slug":"upload-from-an-ftp-server","type":"basic","title":"Import from an FTP or HTTP(S) server"}

Import from an FTP or HTTP(S) server


##Overview **The FTP/HTTP(S) import feature copies files from a public or private FTP or HTTP(S) server to Cavatica.** Upload a single file, a directory (in the case of FTP), or a list of URLs (in the case of HTTP(S)). They are uploaded in the same job. This feature runs in the background on Cavatica and does not depend on your local network speed. This allows you to multitask as your files are added to your project. ##Use the import feature 1. [Navigate](doc:access-a-project) to the project to which you're importing files. 2. Select the **Files** tab and then click **+ Add Files**. 3. Click **FTP/HTTP**, as shown below. [block:image] { "images": [ { "image": [ "https://files.readme.io/0161f1a-ftp-http.png", "ftp-http.png", 1039, 555, "#f1f2f3" ], "border": true } ] } [/block] 4. Type in or paste the URL of the file(s) you want to import. Or, click **Browse** to navigate to a text file on your computer containing the URLs. 5. *Optional:* Enter tags in the **Tag files** box. This makes it easier to visually identify and organize files. Separate tags with commas or by hitting the return key. All tags which are already in the selected project are autosuggested in the drop-down menu. Learn more about [tagging your files](tag-your-files). [block:image] { "images": [ { "image": [ "https://files.readme.io/e72879b-tag-your-files.png", "tag-your-files.png", 1036, 545, "#e7e9e9" ] } ] } [/block] 6. **Resolve naming conflicts** - Select the action to be taken if a naming conflict occurs. Available actions are **Skip** (default option), **Auto-rename** and **Overwrite**. Read more about naming conflicts resolution [below](#section-resolving-naming-conflicts). [block:callout] { "type": "info", "body": "* Allowed characters in **file names** are all alphanumerics and special characters except slash (`/`). File names can’t be longer than 255 characters.\n* Allowed characters in **folder names** are `a-z`, `A-Z`, `0-9`, and special characters (`_`), (`-`), and (`.`). Folder names can’t be longer than 255 characters." } [/block] 7. **Preserve folder structure** - If enabled, the imported items will be an exact mirror of the file/folder structure on the server. Otherwise, the items will be "flattened" when imported from the server, i.e. only files will be imported, with no folder structure. 8. Click **Import** to start the upload. 9. Click **Import more files** if you have more URLs to import. If you're finished uploading, click **Done** to close the dialog. ##During upload Track the import progress under the import status icon on the right-hand side of the main menu. [block:image] { "images": [ { "image": [ "https://files.readme.io/52c5af0-during-upload.png", "during-upload.png", 674, 327, "#eeeff0" ], "border": true } ] } [/block] When the upload completes, review your files in the **Files** tab of your project. ##Accessing password-protected FTP and HTTP(S) servers The FTP/HTTP(S) tool can submit usernames and passwords to the server. To do this, you should include the username and password in the links that you pass to the tool, using the standard HTTP syntax: `http://username:password@example.org/sample/`. Pasting in a link formatted in this way will attempt to authenticate with the server `example.org` using the credentials `username` and `password` and then try to fetch everything that is hosted under the `directory/sample/`. ## RESOLVING NAMING CONFLICTS Naming conflicts happen when you try to import an item (file or folder) from an FTP/HTTP server to a project's root folder or subfolder, where an item with the same name already exists. The list below illustrates the possible cases of naming conflicts and the way they are resolved depending on which option is selected in the **Resolve naming conflicts** dropdown: 1. Importing a **file** that has the same name as an existing **file** at the destination path: * **Skip** (default): The file won't be imported. This is the default behavior. * **Auto-rename**: The imported file will be automatically renamed by adding a prefix (underscore and serial number). * **Overwrite**: The existing file will be overwritten by the file imported from the server. 2. Importing a **file** that has the same name as an existing **folder** at the destination path: * **Skip** (default): The file won't be imported. * **Auto-rename**: The imported file will be automatically renamed by adding a prefix (underscore and serial number). * **Overwrite**: The file won't be imported. 3. Importing a **folder** that has the same name as an existing **folder** at the destination path: * The content of the folder that is being imported will be merged with the content of the existing folder, regardless of the option selected in the **Resolve naming conflicts** dropdown. Any conflicts related to files within the folders will be handled according to file naming conflict resolution rules described above. 4. Importing a **folder** that has the same name as an existing **file** at the destination path: * The folder and the files it contains won't be imported. This is the default, non-configurable behavior, regardless of the option selected in the **Resolve naming conflicts** dropdown. The following table illustrates the entire naming conflict resolution mechanism: [block:image] { "images": [ { "image": [ "https://files.readme.io/b10db9e-conflict-resolution-matrix.png", "conflict-resolution-matrix.png", 471, 296, "#f1f1f1" ] } ] } [/block] ##Troubleshooting If the Cavatica FTP/HTTP(S) import feature fails to upload all the files whose links you provided, please retry by providing shorter lists of links.