Jump to content

Transferring Files: Difference between revisions

From Swarthmore Knowledge Base
Imported from Confluence
 
No edit summary
Line 1: Line 1:
There are several ways to copy files to/from Firebird.
There are several ways to copy files to/from Firebird.


__TOC__
== Web via Open OnDemand ==


= Web via Open OnDemand =
Open OnDemand offers a web interface to Firebird, including a [[Open_OnDemand#File_Browser|graphical file manager]], making it one of the most straightforward options to transfer files to/from Firebird. There is, however, a 10GB limit on transfers; should you need to transfer larger files, use one of the methods listed below.


Open OnDemand offers a web interface to Firebird, including a [https://swatkb.atlassian.net/wiki/spaces/ACADTECH/pages/162234377/Open+OnDemand#File-Browser graphical file manager], making it one of the most straightforward options to transfer files to/from Firebird. There is, however, a 10GB limit on transfers; should you need to transfer larger files, use one of the methods listed below.
== macOS/Linux command line ==
 
= macOS/Linux command line =


<code>scp</code> is used to transfer files to/from Firebird; note that regardless whether you want to transfer files to OR from Firebird, you initiate the command from your local computer, not from Firebird. In other words, you are either pushing files to Firebird or pulling them from Firebird.
<code>scp</code> is used to transfer files to/from Firebird; note that regardless whether you want to transfer files to OR from Firebird, you initiate the command from your local computer, not from Firebird. In other words, you are either pushing files to Firebird or pulling them from Firebird.
Line 35: Line 33:
</syntaxhighlight>
</syntaxhighlight>


= CyberDuck graphical file transfer for macOS/Windows/Linux =
== CyberDuck graphical file transfer for macOS/Windows/Linux ==


[https://cyberduck.io/ CyberDuck] is a free graphical program that can be used to transfer files to and from Firebird.  Download and install CyberDuck and then set up an SFTP connection to Firebird:
[https://cyberduck.io/ CyberDuck] is a free graphical program that can be used to transfer files to and from Firebird.  Download and install CyberDuck and then set up an SFTP connection to Firebird:
Line 47: Line 45:
* Click '''Connect'''
* Click '''Connect'''


= Other Windows Options =
== Other Windows Options ==


[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html PuTTY SCP] (PSCP) is a command line version of <code>scp</code> for Windows.
[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html PuTTY SCP] (PSCP) is a command line version of <code>scp</code> for Windows.
Line 54: Line 52:




[[Category:Teaching, Learning, Research]]
[[Category:Teaching, Learning, Research]][[Category:Firebird]]
 
 
<!-- Imported from Confluence page id=162988052 (https://swatkb.atlassian.net/wiki/spaces/ACADTECH/pages/162988052/Transferring+Files) -->

Revision as of 21:07, 14 May 2026

There are several ways to copy files to/from Firebird.

Web via Open OnDemand

Open OnDemand offers a web interface to Firebird, including a graphical file manager, making it one of the most straightforward options to transfer files to/from Firebird. There is, however, a 10GB limit on transfers; should you need to transfer larger files, use one of the methods listed below.

macOS/Linux command line

scp is used to transfer files to/from Firebird; note that regardless whether you want to transfer files to OR from Firebird, you initiate the command from your local computer, not from Firebird. In other words, you are either pushing files to Firebird or pulling them from Firebird.

Use scp command on your computer to copy files to Firebird:

scp <path to file on your computer> <your username>@firebird.swarthmore.edu:/home/<your username>

Here is an example of user Alice Paul copying a file from a folder on her computer to her home directory on Firebird:

scp /Users/apaul1/votingdata/data.csv apaul1-swat@firebird.swarthmore.edu:~

It also works to copy files from Firebird to your computer:

scp <your username>@firebird.swarthmore.edu:<path to file on Firebird> <path to folder on your computer>

Use the -r flag to copy multiple files or folders recursively.  Here is an example of user Alice Paul copying all .csv files from a folder on her computer to her home directory on Firebird:

scp -r /Users/apaul1/votingdata/*.csv apaul1-swat@firebird.swarthmore.edu:~

CyberDuck graphical file transfer for macOS/Windows/Linux

CyberDuck is a free graphical program that can be used to transfer files to and from Firebird.  Download and install CyberDuck and then set up an SFTP connection to Firebird:

  • Click Open Connection
  • Select SFTP (SSH File Transfer Protocol) from the drop-down list
  • Set Server to firebird.swarthmore.edu
  • Set Username to your Firebird username
  • Leave Password blank
  • Select the file containing your SSH Private Key (likely named id_ed25519)
  • Click Connect

Other Windows Options

PuTTY SCP (PSCP) is a command line version of scp for Windows.

WinSCP is an open source file transfer application.