Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

SFTP...any support for this?


  • Please log in to reply
6 replies to this topic

#1 sshrum

sshrum

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 538 posts

Posted 25 August 2008 - 09:23 AM

My web host just upgraded servers and informed me that the new server no longer will support FTP but rather SFTP.

Ergo all my scripts that I wrote with FTP no longer are able to log into the new server (they worked great with the old server but oh well).

Anyone have a updated FTP UDF that can access a SFTP server?

TIA
Sean Shrum :: Shrum Consultingsean[at]shrum[dot]net :: http://www.shrum.net---------------Skinner: 'Oh, brandishing your buttocks is only making me angrier!'Me: 'Make it idiot-proof, and someone will make a better idiot'Me (sort of): 'Give a man a fish and you feed him for a day. Teach a man to fish and he'll snag some part of his body with a rusty hook, get tetanus, and surely die'---------------All my published AU3-based apps and utilities







#2 PsaltyDS

PsaltyDS

    Most Venerable Penguin

  • MVPs
  • 13,279 posts

Posted 25 August 2008 - 05:23 PM

My web host just upgraded servers and informed me that the new server no longer will support FTP but rather SFTP.

Ergo all my scripts that I wrote with FTP no longer are able to log into the new server (they worked great with the old server but oh well).

Anyone have a updated FTP UDF that can access a SFTP server?

TIA


What client software will you use? For example, WinSCP has built-in command line functionality. But if you are using PKI/CACs to authenticate, it probably won't work for you. How will you authenticate the host? And the client?

;)
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

#3 rudi

rudi

    Laptop-Viagra: Doubles the power of your battery pack ;-))

  • Active Members
  • PipPipPipPipPipPip
  • 962 posts

Posted 25 August 2008 - 05:23 PM

SFTP = Secure FTP here, right? (not simple FTP...)

In a few weeks I might have to automate some Secure FTP transfers as well. So if you find a solution how to easily automate this with autoit, it would be very kind of you to PM me.


Thanks, Rudi.
Earth is flat, pigs can fly, and Nuclear Power is SAFE!

#4 sshrum

sshrum

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 538 posts

Posted 26 August 2008 - 08:08 AM

What client software will you use? For example, WinSCP has built-in command line functionality. But if you are using PKI/CACs to authenticate, it probably won't work for you. How will you authenticate the host? And the client?


Granted for user driven interfaces, WinSCP is my tool of choice. But I need to be able to connect to a secure FTP server thru my script. I've been using the FTP UDF and that worked on my old server running plain-Jane FTP. Times are-a-changin. I was hoping for something a little less reliant on external third-party apps that I could build into the script/utility itself.

Edited by sshrum, 26 August 2008 - 08:09 AM.

Sean Shrum :: Shrum Consultingsean[at]shrum[dot]net :: http://www.shrum.net---------------Skinner: 'Oh, brandishing your buttocks is only making me angrier!'Me: 'Make it idiot-proof, and someone will make a better idiot'Me (sort of): 'Give a man a fish and you feed him for a day. Teach a man to fish and he'll snag some part of his body with a rusty hook, get tetanus, and surely die'---------------All my published AU3-based apps and utilities

#5 PsaltyDS

PsaltyDS

    Most Venerable Penguin

  • MVPs
  • 13,279 posts

Posted 26 August 2008 - 02:20 PM

Granted for user driven interfaces, WinSCP is my tool of choice. But I need to be able to connect to a secure FTP server thru my script. I've been using the FTP UDF and that worked on my old server running plain-Jane FTP. Times are-a-changin. I was hoping for something a little less reliant on external third-party apps that I could build into the script/utility itself.


No third-party implies you think Microsoft implemented standards-based SFTP somewhere. They didn't, as far as I can tell. All your options are for adding some kind of third-part software to your Windows environment, or forcing your non-Windows server to provide a more Microsoft-based access like FTPS (FTP over TLS\SSL).

For adding to Windows, you have for example CYGWIN to provide a *nix environment, with ssh and rsync. That might work for you. From a bash shell EVERYTHING is scriptable!

;)
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

#6 ptrex

ptrex

    Universalist

  • MVPs
  • 2,413 posts

Posted 28 August 2008 - 08:15 PM

@All

maybe this can get you going

PuTTY

Regards

ptrex

#7 gertsolo

gertsolo

    Wayfarer

  • Active Members
  • Pip
  • 99 posts

Posted 10 September 2008 - 10:13 AM

Maybe this is usable, u can use it as command line in background:

http://curl.haxx.se/
The more you learn, the less you know.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users