Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > File Transfer

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2014, 02:31 PM
secureus secureus is offline
Registered User
 
Join Date: Sep 2014
Posts: 14
SecureFX File Transfer

New to SecureFX. By establishing the SFTP Connection, my application has to write .csv file in the Linux Server.

Main project is developed in VB.Net Program.

Quote:
Public Function UploadFileFromStream(ByVal _data As Byte(), ByVal _fileName As String) As Boolean

' Once connection is established, Variable : _data has to be written to .csv file in the specified folder

' Here, I have to call SecureFX to do File Transfer / File Create

End Function
Where to start ? How to establish a SFTP Connection in the SecureFx ?
Reply With Quote
  #2  
Old 09-16-2014, 02:46 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
Hi secureus,

Thanks for the post.

If you already have the file created, you could use SFXCL (the command-line component of SecureFX). Here is a tip on how to use SFXCL:
http://www.vandyke.com/support/tips/sfxcl_auto.html
Based on your code snippet, however, it looks like you are looking for an SFTP API that you can incorporate into a program. If this is the case you may want to consider downloading ClientPack for evaluation. It includes a COM object called VRALib that has an API that can be used to establish an SSH2/SFTP connection and transfer files. You can download the evaluation from the following location:
http://www.vandyke.com/download/clie.../download.html
It is important to note that VRALib is only available in ClientPack for Windows.

Does this help to answer your question?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:26 AM.