tk1 Posted September 28, 2016 Share Posted September 28, 2016 Hello, First, I'm sorry if this is the wrong forum for this question, I couldn't decide which one to put it in. If it is wrong, please move it where it should be and let me know? My question is about using _SFTP_Open in Lupo73's UDF SFTPEx. From what I see in the UDF, _SFTP_Open will open a connection using a null session ($sPath & " -load null", ...). I have a saved session that I want to use, but the function doesn't give me a way to feed it that saved session (without editing the UDF which I don't want to do). Is there a way to use this UDF with a saved session? Does anyone have experience using this in this way that has the answer? Thanks in advance! tk1 Link to comment Share on other sites More sharing options...
genius257 Posted September 30, 2016 Share Posted September 30, 2016 you don't haft to edit the UDF itself, rather you could just define a function within you own script, something like _SFTP_Open2 and just modify the one line to your need + the new parameter. Then just use the return with the normal UDF functions. If you don't want to do this, i see very few ways to help you, other than hoping it will be added some day My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
tk1 Posted October 3, 2016 Author Share Posted October 3, 2016 (edited) On 9/30/2016 at 2:41 PM, genius257 said: ...rather you could just define a function within you own script, something like _SFTP_Open2 and just modify the one line to your need + the new parameter... I thought about doing this, and wanted to see if there was something I was missing and/or a better way --I hate re-inventing the wheel. I respect your input and getting your answer/insight helps. Thank you! tk1 Edited October 3, 2016 by tk1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now