![]() |
FlashFXP command line switches problem
Hi there,
I'm a long-time user of FlashFXP and recently started automating uploads via command-line switches. Now it turned out that some uploads were not ok, so I was looking for a way to create a logfile so I can check for broken/interrupted transfers later. The helpfile states that I can supply the -logfile="<path>" switch to create a logfile for the session that was initiated through the command line, but whatever I try, as soon as I add -logfile the the command-line, FlashFXP errors out and reports this error in the GUI event log: Error: " MyFtpGroup[strange character] MyFtpSite" -logfile="MyLogfile.log" not found in Site Manager My full command line looks like this: "C:\Program Files (x86)\FlashFXP 4\flashfxp.exe" -upload "\MyFTPGroup\MyFTPSite" -remotepath="/whatever/remote/path/needed/" -localpath="C:\Whatever\Upload\Folder\" -logfile="C:\logfiles\transfer.log" -c2 Any idea what I'm doing wrong here? I just updated to the latest 4.2 release and it still behaves the same. Any pointers are greatly appreciated :) |
Before updating into the new release did you faced any problem
|
The problem already occurred before the 4.2 update. I usually update whenever new versions are available and haven't had much of a problem at all during the last years. This is the first time I run into a serious problem (at least serious for me right now).
|
It would appear that this part of the help file is incorrect.
Specifically the switch -logfile= is incorrect. it should be -logpath=<path> and -logopt=00000000 1 = on 0 = off Each index (1-8) identifies which log file to enable 1. log session 2. log uploads 3. log downloads 4. log fxp 5. log successful (must be combined with 2, 3, or 4) 6. log failed (must be combined with 2, 3, or 4) 7. log skipped (must be combined with 2, 3, or 4) 8. log summary So to log the session only you would use FlashFXP.exe -logpath="C:\data\logs\" -logopt=10000000 |
That's great news. Thanks for the fast reply! I'll try that right now :) Will it overwrite an existing file or append to it?
|
Within the log folder you should see date formatted folders created for each individual session.log that is saved.
To be quite honest since these switches weren't properly documented you just might be the first person to use them aside from myself and unfortunately I do not recall the latest time I've tested them. I have made a note to evaluate these switches to insure that they are working as intended. UPDATE You might need to adjust one setting in FlashFXP, From within FlashFXP > Options > Preferences > General > Logging. Make sure the option "Store logs in unique session folders" is checked, otherwise all the log files will be combined. When this option is checked each session will have its own unique log files stored in a date formatted folder, otherwise you will have combined logs for all sessions, which would make debugging extremely difficult. |
All times are GMT -5. The time now is 11:32 PM. |
Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)