I'm having trouble using SCP to upload files to Sourceforge

user1645227 picture user1645227 · Sep 5, 2012 · Viewed 7.3k times · Source

So I finished writing my first program and I'm trying to upload it to my sourceforge account, but the file size is to big to use the normal html5 upload manager sourceforge provides. Soursceforge says "For larger files, use FTP, SCP, or rsync". They also provided this page for references of what to commands to send via the command line like this one, which I had no idea how to use

scp file.zip [email protected]:/home/frs/project/fooproject/Rel_1

Should I be able to run this through the WinSCP.com prompt like so?

WinSCP> scp file.zip [email protected]:/home/frs/project/fooproject/Rel_1

Seeing as how the commandline kicked my but (I'm totally open to learning how to use the commandline for file transfer to sourceforge if you have any links to any tutorials, this one was too difficult to understand with all the broken English :/ ), I tried creating a connection with the WinSCP GUI and the following info

Host: [email protected]

Username: MyUsername

Password: MyPassword

but I get the following error before the SCP connection is finished

Connection has been unexpectedly closed. Server sent command exist status 1.

Error skipping startup message. Your shell is probably incompatible with the application (bash is recommended).

Any help or a nudge in the right direction would be greatly appreciated. From what I've gathered I should learn more about shells, but I have no idea where to begin. Thanks in advance and cheers!

Answer

Martin Prikryl picture Martin Prikryl · Apr 3, 2013

You are using SCP protocol with WinSCP. Make sure you use SFTP.