• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

"Auto push on save" for files not edited by DW

Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

"Auto push on save" is very convenient. But there are types of files that DW does not deal with. I would like to do (1) edit some files using other software (2) save the file to the directory that DW works (3) DW runs auto push. Is it possible? 

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Hi @20240603 ,

 

Thanks for writing to us. The workflow mentioned is not possible with Dreamweaver 'Auto push on save' option since Dw will push the files edited in Dw only. We see 'File Synchronization' feature would perform the workflow you are looking for where new files or file content changes will be listed in a dialog for review before pushing all the required files/folders to the server. PFB the article for more info on File synchronization feature.

 

KB article: https://helpx.adobe.com/dreamweaver/user-guide.html/dreamweaver/using/synchronizing-files.ug.html

 

Have a pleasant day!

 

Regards,

Nayan

Dreamweaver Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

"We see 'File Synchronization' feature would perform the workflow you are looking for where new files or file content changes will be listed in a dialog for review before pushing all the required files/folders to the server."

What does it mean? What is the difference from "Auto push on save for all files"?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Hi @20240603 ,

 

File Synchronization workflow will list the edited or new files in comparision to local and remote server files. In this case, after you edit the file using other software, you can switch to Dw and perform File synchronization to see the files listed are the right set of files and click Ok to push all the files to the server at once. This workflow will have to be done as and when you need to push the files but will not be auto pushed to the server.

 

Thanks,

Nayan

Dreamweaver Team

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

nope unfortunnaly Dreamweaver doesn't propose any watch function.. but you can set a grunt, gulp or any npm runner for that purpose

 

well, I just google the subject to find out a tutorial,

so here are some tracks where you can start from

https://loige.co/gulp-and-ftp-update-a-website-on-the-fly/

or

https://nandunb.wordpress.com/2017/07/25/automate-an-ftp-upload-with-gulp-js/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Will it work on Windows 10?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

of course... it's a NodeJS independant system. it seams obscur and complex, but it's really pretty easy to set it up and make it runs

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Thank you, Let me work on it. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

nope I never try WinSCP... but it sounds like doing what you are looking for. it's free... just give it a try

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Tried but somehow cannot make things work. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Can it be it is because I put these files in MS OneDrive? DW works but it may be that it causes some problems for Winscp. Can it happen?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

try this to define your MS drive access

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Worked when tried for a directory outside MS OneDrive. Is there any way to make it work even for a directory on MS OneDrive? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Why don't you ask Microsoft?

This is NOT a DW question.

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

quote

Why don't you ask Microsoft?

This is NOT a DW question.

By @Nancy OShea

 

in fact Nancy, we just look for a workaround to a feature that DW don't provide, so finding a solution should help Dreamweaver to stay tuned, don't you think ?... at least that is the way I see this thread 😉

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Right.  But the facts don't change:

a) DW does not keep track of files that are updated by outside editors. 

b) Cloud drives like DropBox and OneDrive have never played nice with DW.

c) For best results, your local site folder should reside on the primary hard drive. For example, C:\MyTestSite\.   After editing session ends, you can move your site folder to cloud drives if you wish.

 

CC-localsite.jpg

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

quote

Right.  But the facts don't change:

a) DW does not keep track of files that are updated by outside editors. 

By @Nancy OShea

 

That's not nor the point, nor the question... the main idea is to get a push on save

 

quote

b) Cloud drives like DropBox and OneDrive have never played nice with DW.

By @Nancy OShea

 

perhaps, but it plays... 🙂

 

quote

c) For best results, your local site folder should reside on the primary hard drive. For example, C:\MyTestSite\.   After editing session ends, you can move your site folder to cloud drives if you wish.


By @Nancy OShea

 

tha's fine for lone workers, but what about teams that work remotely?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2021 May 21, 2021

Copy link to clipboard

Copied

People need to get things done. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

quote

Worked when tried for a directory outside MS OneDrive. Is there any way to make it work even for a directory on MS OneDrive?

By @20240603

 

check what your network path is on the MS Drive... like 

 

\\drive\folder\website

 

and create a net use on that (link provide in the previous comment)... creating for example on a disk named x: and point to this disk with the FTP client

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2021 May 21, 2021

Copy link to clipboard

Copied

Thank you. Does this work?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 21, 2021 May 21, 2021

Copy link to clipboard

Copied

well, it all depends on the type of path you use to define the access of the folder to monitor, to the tool that automates the task(s)...

 

In previous post, I suggested gulp, grunt... or any other NPM runner... but you choice Winscp, and Winscp must also use a similar mechanism.


Many of these types of tools do not accept UNC paths. These are the paths that are in the form of

 

\\server\folder

 

and that the way, that generally we define access to network-accessible parked spaces from windows


it is thus often necessary to specify a Windows absolute path instead, in the form

 

driveLetter:\folder 

 

so to convert a UNC path into a windows absolute path... you launch the command console and type

 

net use x: \\{the path to your network shared space}

 

(I choose X as drive letter, but you can choose any letter that you want, and that windows doesn't already use)


from now on the access to your space can be done by typing 

 

x:\folder

 

and that's all there is to it, at least it works for me with a different file hosting service and synchronization service.

 

when you want to remove the alias access you just go back to the comman console and you type

 

net use x: /d

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2021 May 21, 2021

Copy link to clipboard

Copied

LATEST

Thank you. Let me work on it. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines