Edit History Actions Discussion

Diff for "Howto/Upload"

Differences between revisions 1 and 15 (spanning 14 versions)
Revision 1 as of 2010-01-28 00:16:35
Size: 380
Editor: 78
Comment: upload files
Revision 15 as of 2010-02-03 04:19:52
Size: 1976
Editor: arthax0r
Comment: Linux/BSD examples for scp.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was copied from Info/Upload
Line 2: Line 3:
? How can I send file to my Blinkenshell account since [[Info/Security|there is no ftp access]]?

Remember that based on [[Start|the rules]] you need to [[Howto/FileManagement|check your disk usage]] with `quota` in order to avoid problems.
Line 5: Line 8:
Use pscp from [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|Putty]] Use pscp from [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html|Putty]] if you're comfortable with command line programs, or [[http://winscp.net/|WinSCP]] if you prefer a GUI program with drag and drop convenience. If you really do file transfer very often, consider [[http://dokan-dev.net/en/|DokanSSHFS]], a C# implementation of [[http://en.wikipedia.org/wiki/SSHFS|sshfs]] that let you mount your account as a networked drive.
Line 7: Line 10:
Examples : pscp -p 2222 myfile mynick@blinkenshell.org:/home/mynick/ === Examples ===
{{{
pscp -P 2222 myfile mynick@blinkenshell.org:/home/mynick/
}}}
Line 10: Line 16:
http://unixhelp.ed.ac.uk/CGI/man-cgi?scp {{{
scp -P 2222 myfile mynick@blinkenshell.org:/home/mynick/
scp -P 2222 -r mydir mynick@blinkenshell.org:/home/mynick/
}}}

Or, to your publicly accessible web dir:

{{{
scp -P 2222 myfile mynick@blinkenshell.org:/home/mynick/public_html/
scp -P 2222 -r mydir mynick@blinkenshell.org:/home/mynick/public_html/
}}}


== Alternative ==
Use the ftp command from blinkenshell :
 1. start an ftpd on your publicly available machine
  1. on Windows use [[http://filezilla-project.org/download.php?type=server|FileZilla server]]
  1. on Linux man your-installed-ftpd
  1. open your firewall
  1. forward your port 21 on your router
 1. login on blinkenshell
 1. `ftp -p` (for passive mode)
 1. `open your_public_IP`
  1. the login and password you set up earlier in step 1
 1. `cd yourdir`
 1. `get yourfile`
 1. `exit`
 1. `vi yourfile`

== See also ==
 * [[Howto/FileManagement]]
 * [[Info/Security]]
Line 14: Line 51:
Tutorial on installing web software for which wget doesn't work should link back here. Tutorials on installing web software (mainly [[Howto/Webpage/]] and [[Info/Webhosting]]) for which wget doesn't work should link back here.

Line 16: Line 55:
CategoryInfo CategoryHowto

Principle

How can I send file to my Blinkenshell account since there is no ftp access?

Remember that based on the rules you need to check your disk usage with quota in order to avoid problems.

Windows

Use pscp from Putty if you're comfortable with command line programs, or WinSCP if you prefer a GUI program with drag and drop convenience. If you really do file transfer very often, consider DokanSSHFS, a C# implementation of sshfs that let you mount your account as a networked drive.

Examples

pscp -P 2222 myfile mynick@blinkenshell.org:/home/mynick/

Linux

scp -P 2222 myfile mynick@blinkenshell.org:/home/mynick/
scp -P 2222 -r mydir mynick@blinkenshell.org:/home/mynick/

Or, to your publicly accessible web dir:

scp -P 2222 myfile mynick@blinkenshell.org:/home/mynick/public_html/
scp -P 2222 -r mydir mynick@blinkenshell.org:/home/mynick/public_html/

Alternative

Use the ftp command from blinkenshell :

  1. start an ftpd on your publicly available machine
    1. on Windows use FileZilla server

    2. on Linux man your-installed-ftpd
    3. open your firewall
    4. forward your port 21 on your router
  2. login on blinkenshell
  3. ftp -p (for passive mode)

  4. open your_public_IP

    1. the login and password you set up earlier in step 1
  5. cd yourdir

  6. get yourfile

  7. exit

  8. vi yourfile

See also

Notes

Tutorials on installing web software (mainly Howto/Webpage/ and Info/Webhosting) for which wget doesn't work should link back here.


CategoryHowto