Forums

SFTP to remote server

Hey there,

is there a way to access a remote server via sftp? For the desktop there's paramiko with its pycrypto dependencies. How could I access a remote sftp server with my PAW script to upload a file? Thank you!

i would ask the developers to install sftp first! then you can use the os or process libraries to control it.

they do that if I ask them? (btw, the server i want to write to is sftp)

there's only one way to find out - ask them!

haha, yeah, I figured, they often answer these kinds of questions... right here in the forum :D

We do :-)

We could definitely add the sftp command; it won't be until the next release, though -- probably this Friday. Would that be OK for you?

sure, that would be great Giles!

Cool, I'm putting it into the testing environment now.

Sweet...when are you planning to deploy this round?

Well, we were hoping for tomorrow but it's looking more like early next week :-(

Fighting the good fight is never easy, but we MUST KEEP FIGHTING!!!!!

+1 for PA

Any news?

Ooops, sorry for the silence. We're deploying it (and a bunch of other good stuff) tomorrow at 11am UTC.

And it's there.

Cool, thank you Giles!

No problem :-)

VN!!

I have the exact same need. But didn't found how to do it? Tried import pysftp, but doesn't seem to be available Please could you advise.

( I have a 5$/ month plan as long as in dev)

You can install pysftp like this:

pip install pysftp --user