Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > File Transfer

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2021, 04:58 PM
limbergj limbergj is offline
Registered User
 
Join Date: Jan 2021
Posts: 2
sfxcl.exe options (resume?)

Is there a list of the options that can be used for commandline sfxcl.exe?
I'm looking for an option to tell a file to RESUME if it already exists in the destination like you can do with the GUI.

Would leaving out the "/OVERWRITE Always" option perform a resume on a retry?
Reply With Quote
  #2  
Old 01-26-2021, 06:03 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,067
Quote:
Originally Posted by limbergj View Post
Is there a list of the options that can be used for commandline sfxcl.exe?
The list of options that can be used with the SFXCL command line utility are listed by default if you run the SFXCL command without any arguments (or with ambiguous arguments).

Options are also listed in SecureFX's built-in help, within the topic titled, "Command-Line Utility", found in the Getting Started chapter.

Quote:
Originally Posted by limbergj View Post
I'm looking for an option to tell a file to RESUME if it already exists in the destination like you can do with the GUI.

Would leaving out the "/OVERWRITE Always" option perform a resume on a retry?
/OVERWRITE always would always overwrite the file, so if resume is on the menu, you would not use 'always' as your /OVERWRITE directive.

/OVERWRITE resume
would perform a resume, but only if the file is being being transferred as binary. Files transferred as ASCII cannot be resumed because line endings are potentially converted, and would change the size of the file -- making it impossible (without transferring the contents of the file again) to know for certain at what offset in the file the transfer should resume.
If resume is desired, you may also want to include the /TransferType binary option in your command line as well. For example:
SFXCL.exe /LOG DbgLog.txt /OVERWRITE resume /TransferType binary <source_specification> <destination_specification>
--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: https://www.youtube.com/vandykesoftware
Email: support@vandyke.com
Web: https://www.vandyke.com/support
Reply With Quote
  #3  
Old 01-27-2021, 10:22 AM
limbergj limbergj is offline
Registered User
 
Join Date: Jan 2021
Posts: 2
Excellent, thank you Jake!
I appreciate the clarification between how resume works between binary and ascii modes too.
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 01:36 AM.