Edit History Actions Discussion

Diff for "Howto/Upload"

Differences between revisions 14 and 15
Revision 14 as of 2010-01-29 04:05:21
Size: 1702
Editor: 78
Comment: sshfs
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 16: Line 16:
[[http://unixhelp.ed.ac.uk/CGI/man-cgi?scp|man 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/
}}}

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