The Advanced Camera for Surveys
  general > computing > faq >
Science
Instrument
General

Last updated
20 April 2006 17:04:43

Maintained by
shy


Printable version

File Transfer FAQ

  1. How can I upload files to the FTP site?

    Anyone can anonymously upload data to a special location in the FTP site. This is the incoming directory.

    % ftp acs.pha.jhu.edu
    ftp> cd incoming
    ftp> mkdir cosmic_stuff
    ftp> cd cosmic_stuff
    ftp> put cosmic.fits
    ftp> bye
    

    These uploaded files will be available to anyone on an ACS workstation at /home/ftp/incoming/cosmic_stuff.

    Please note that all data in the incoming FTP areas will be removed after a short time (nominally five days).

  2. Where should I put files so that anyone can download them by FTP?

    From one of our ACS workstations you can copy your data to your personal FTP directory at /home/ftp/pub/users/USERNAME, where USERNAME is your ACS user name. Be sure to make the files readable by anyone. For example:

    % cp collaborate.fits /home/ftp/pub/users/peacenik
    % chmod a+r /home/ftp/pub/users/peacenik/collaborate.fits
    

    This will make the files available to anyone at the location: ftp://acs.pha.jhu.edu/pub/users/USERNAME/.

    If you do not have a personal FTP directory simply let me know and I will create one for you.

    Please note that all data in the personal FTP areas will be removed after some time (nominally seven days).

  3. What do I do when I see the sftp error message "Received message too long 796226418"?

    You will see this error message when sftp is corrupting an echo statement in your .login, .cshrc and/or .mycshrc files. If you find this line in your .cshrc:

    echo "${global_cshrc} not found"

    Please comment it out, per the following example:

    ####echo "${global_cshrc} not found"

    Alternatively, you may simply delete the line.

    Try to sftp again and you should be fine. For more information see the sftp FAQ. (http://www.snailbook.com/faq/sftp-corruption.auto.html)