Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 05-15-2008, 05:40 AM
Kaffar Kaffar is offline
Registered User
 
Join Date: May 2008
Posts: 2
ftp/ssl (implicit)

I can't get this command to work
SFXCL ftps://userassword@ftp.soft.com:2525/folder/*.txt c:\temp

i only get "Copying local files is not supported."


Anyone got an idea what i'm doing wrong?
Reply With Quote
  #2  
Old 05-15-2008, 10:20 AM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 819
Hello Kaffar.

It helps to know exactly where you are placed when you
connect to the server.

When you connect to the server are you placed into a folder
that is one level above "folder"?

It will probably also help if you use the settings from a
session that you have saved using the GUI interface. For
example, If you configure a session called
"MyFTPSSLSession", you can save your username and password
and enable things like the "Disable certificate validation"
setting, etc. Then you should be able to use a command like
the following:

SFXCL /s MyFTPSSLSession /folder/*.txt c:\temp

That should work if you want to use a relative path, but if
that is an absolute path, it would look like this:

SFXCL /s MyFTPSSLSession //folder/*.txt c:\temp

You should be able to find out the remote path you need to
use when you use the GUI interface to see where you are
placed when you connect to the server.

Does that help you?

Thank you

JJH
Reply With Quote
  #3  
Old 05-16-2008, 01:59 AM
Kaffar Kaffar is offline
Registered User
 
Join Date: May 2008
Posts: 2
Thank you for the answer

I have configured it in the GUI and its working but when i am trying to use it in the command line i gett this:
-----------------------------------------------------------
SFXCL /log c:\temp\ftp.log /S MyFTPSSLSession /folder/*.txt c:\temp
2008-05-16 09:46:16, 00001: sfxcl version 3.0.2.871 (Official Release - August 11, 2005)
2008-05-16 09:46:16, 00001: Session 00001 established for transfer from MyFTPSSLSession
2008-05-16 09:46:16, 00001: Changing state from STATE_NOT_CONNECTED to STATE_EXPECT_KEX_INIT.
2008-05-16 09:46:16, 00001: RECV: TCP/IP close
2008-05-16 09:46:16, 00001: Changing state from STATE_EXPECT_KEX_INIT to STATE_CLOSED.
2008-05-16 09:46:16, 00001: Connected for 0 seconds, 37 bytes sent, 0 bytes received
-------------------------------------------------------------
Reply With Quote
  #4  
Old 05-16-2008, 02:16 PM
kbarnette kbarnette is offline
VanDyke Technical Support
 
Join Date: Aug 2007
Posts: 587
Hi Kaffar,

Could you send me the log output of the successful connection from the SecureFX GUI?

Please send this to support@vandyke.com with a subject of 'Attn: Kevin Forum Thread 2942'.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 12:59 PM.