Menu

Upload file to Sourceforge using command line

Last night, I tried to upload new version of Laragon to sourceforge. However, the internet connection (ADSL) is so slow that the web uploader corrupted many times.
At last, I managed to upload through scp using Laragon's cmder and it worked.

  1. First create a shell:

    ssh -t leokhoa,laragon@shell.sourceforge.net create

    Input your password, you'll be logged in to shell:
    [leokhoa@shell-23003 ~]$

  2. Open another local shell and use pscp (of Putty) to transfer file to remote

    pscp "F:\output\laragon-0.9-setup.exe" leokhoa,laragon@shell.sourceforge.net:/home/frs/project/laragon/laragon.tmp

    If you use scp, be careful with the Path: /F/output/laragon-0.9-setup.exe

  3. On the remove shell, rename laragon.tmp to its real name:

    mv /home/frs/project/laragon/laragon.tmp /home/frs/project/laragon/laragon-0.9-setup.exe

It took about 1 and a half hours to upload but it worked.

Posted by Leo Khoa 2015-10-05 Labels: pscp upload file to sourceforge ssh laragon

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.