Editing
Talk:Command-line arguments (Client)
(section)
From FileZilla Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Auto-Gen (Macro Recording) of Command Scripts == I too was disappointed that there's no command script facility. I have heap big request though... Which may seem like it's really over the top, but not really, since it's easier than it sounds. Instead of a scripting language, which requires an interpreter and all that, why not just an auto-generated XML file, which consists of settings followed by a set of clicked commands? The rule would be that after starting the record function, no settings can be changed - just clicks like Upload. Once a user sets up an FTP connection and all the associated options in the GUI are set, really 90% of the command script is stored in all the GUI control values, so a "Record Script" function could write out the settings in an XML or special ini file that is specific to each script. That avoids having to come up with a special language to set each little parameter. The Record Script would then record command clicks like "Upload" until "Stop Recording" is clicked. Again, it could just be a series of XML entries of the commands clicked, not a real script language. Maybe a couple of upload options might have to be added like "Upload all missing files in folder", so that absolute filenames don't have to be specified. Then all the command line interpreter would have to do is run the GUI, load the specified XML or ini file, load all the GUI options with settings from the XML file, and then run the array of clicks specified, and return error codes for each step. A few users may be limited in the things they could do in a normal scripting language or command like interface, but since the script would be auto-generated, 99% of users would probably think it's great to simply record a "missing files" upload that can be scheduled with Windows Scheduler, just by running FZ GUI and specifying a XML / ini filename! In theory!!! - Which usually gets more complicated when implemented :-)
Summary:
Please note that all contributions to FileZilla Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
FileZilla Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
+
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main Page
Community portal
Recent changes
Random page
Help
Search
Tools
What links here
Related changes
Special pages
Page information