FTP | .cfg editing

Hi. I have a one small problem. I wanted to edit a file *.cfg but when I saved it, that doesn't send edited file to server. txt file are sending normal after editing but cfg not. Can I somehow set, that the file I edited automatically reupload to server?

Are you editing the .txt and .cfg files using the same program?

Is the program launched in the same way for both .txt and .cfg (e.g. by double-clicking in both cases) or is it launched differently for each type?

I'm using Notepad++ for launching both files. This files automatically opens in Notepad++ after double-click.

I must add that in Total Commander it works.

And *.ini reuploads too in Opus

If ini and txt work in Opus then cfg should as well, provided they're all being handled the same way. Opus doesn't care what the extensions are.

Check under Settings -> File Types that the three extensions have the same Open actions and Left double-click events.

Also check the Re-upload modified files settings under Settings -> Preferences / File Operations / Options and that they make sense for what you're expecting. e.g. Opus may be set to stop monitoring the files after the first change.

I'd advise against using the Check for modification when launched process exits setting, in particular, as it tends not to work well with editors which can open multiple documents at once.

Still nothing... I tried every options in "Settings -> Preferences / File Operations / Options". But I also tried to change any other file (like .db) and after saving changes the program doesn't reupload these files... I think that the Opus must care what the extensions are.

And I tried to edit in Microsoft Notepad but Opus ain't re-upload edited file.

If you set Opus to prompt before uploading the file, does it prompt?

Is the file being edited from a similar temp directory for both types of file?

On .ini and .txt Opus shows a window "Sending edited files" (or something like that I don't know, I have a Polish version) On any other files this window doesn't pop up.

.txt files temp folder is: "C:\Documents and Settings\Profile\Ustawienia lokalne\Temp\dtemp-472fed83771968-20.dop\file.txt"

.cfg: "C:\Documents and Settings\Profile\Ustawienia lokalne\Temp\dtemp-48afed83925828-20.dop\file.cfg"

For me it works for filetypes that have an Open action defined, and doesn't for filetypes which don't (or for files which don't have a type at all).

Does your .cfg filetype have an Open action? (You can see using Settings -> File Types.)

Hmm... I can't delete .cfg from "File Types". I mean even if I delete it after double-click on .cfg Notepad++ still opens this files. Hmm :neutral_face:

Haha problem solved... Simply image in paint shows what was wrong... http://img338.imageshack.us/img338/7799/opus.jpg

Thanks for help :slight_smile:

It might have been opening in Notepad++ due to the option in Opus (under the "double-click on files" part of Preferences) which uses the default text editor if a file containing text is double-clicked and that file's extension doesn't map to any known type.

When files end up in a text editor via that mechanism, the "upload changes" stuff doesn't seem to happen. There might be a technical reason why it's like that but I've just dropped a note about it into GPSoftware's to-do list in case it can be fixed.

With older version of dopus I used a button with the following Function:

C:\WINDOWS\NOTEPAD.EXE %1

to open html files on my web server. When I finish to change it I just save and close it and dopus ask me to upload it. Right now dopus don't ask me anything and I need to download and upload it manually. This is very annoying.
Can somebody help me with that plz. :confused:

Any idea which version it was where that worked?

I can confirm that it doesn't trigger a re-upload now. If you know which version it worked in then it might be easier for GPSoft to work out what has changed since then.

It used to work in 9.1.0.3