Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Notices

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-30-2013, 11:47 AM
rei rei is offline
Registered User
 
Join Date: Oct 2013
Posts: 4
Disable certificate validation in command prompt

Is it possible?

Good day!

Background on what I want to do:Automatically copy 2 .mdb files from 1 PC to 10 PCs using some more secure method than plain ftp.

Current testing environment: FileZilla Server w/ FTP over SSL/TLS support (FTPS)

I have used FileZilla Client to transfer files successfully.

When I installed SecureFX, it gave me an error that sounds something like "...certificate on the server could not be trusted..."

After a few clicking here and there, I found the "Disable certificate validation" option, so I checked it. Voila, I can now transfer files.

Question:
1. Is there a way to Disable certificate validation in the command prompt window?
2. I'm not a big programmer, but I have written a batch file or two here and there. Would setting up a batch file with a bunch of sfxcl command and options work - or does it have to be a vb script?

TYIA,
Rei
Reply With Quote
  #2  
Old 10-30-2013, 12:26 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi Rei,

Thanks for the questions.
Quote:
1. Is there a way to Disable certificate validation in the command prompt window?
The SFXCL command-line utility can use a pre-defined session (/S) or it can use an ad hoc session (FTPS://, FTPeS://) which uses the Default Session. You would need to enable this option for a session or the Default Session in the SecureFX GUI so it will be available to SFXCL. It is, however, not recommended that this option be used as it is not secure.

You may find the following tip helpful as you construct an SFXCL command-line:
http://www.vandyke.com/support/tips/sfxcl_auto.html
Quote:
2. I'm not a big programmer, but I have written a batch file or two here and there. Would setting up a batch file with a bunch of sfxcl command and options work - or does it have to be a vb script?
You can use a batch file or a VBScript to run SFXCL.

Is this information helpful?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 10-30-2013, 02:08 PM
rei rei is offline
Registered User
 
Join Date: Oct 2013
Posts: 4
Thank you for the quick reply. I will be looking into this... Thanks.
Reply With Quote
  #4  
Old 10-30-2013, 03:38 PM
rei rei is offline
Registered User
 
Join Date: Oct 2013
Posts: 4
Looks like everything is working now. That /S sure makes life easy.

One more question - although I think I already know the answer:
Is it possible to use a PC with the SFX client installed to 'push' a file to another PC without SFX?
Reply With Quote
  #5  
Old 10-30-2013, 03:43 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
Hi Rei,

Thanks for the confirmation. I am glad to hear that /S is working well for you.

SFXCL is able to push files to another machine because it is connecting to a server. To push a file to the other machine, you would have to have a server installed. SecureFX is not a server, but we do offer VShell. You are welcome to evaluate VShell to see if it will meet your needs. VShell can be downloaded from the following location:
http://www.vandyke.com/download/vshell/download.html
Does this help to answer your question?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #6  
Old 11-01-2013, 08:13 AM
rei rei is offline
Registered User
 
Join Date: Oct 2013
Posts: 4
Got it.

Thanks again for the fast response!
Reply With Quote
  #7  
Old 11-01-2013, 10:49 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,305
No problem rei.

If you do decide to evaluate VShell, we offer full technical support during the evaluation. You are welcome to email or call us since that may be an easier way to work through questions or problems.
__________________
--Todd

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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 07:15 AM.