Click to See Complete Forum and Search --> : Dreamweaver Question- Remote Servers


@work
06-16-2003, 08:09 AM
I have a question about the way remote servers work in Dreamweaver.

As it stands now I'm working on a website where I will be creating and editing files on this computer, before uploading them to a remote file on our network server that is accessible to everyone. I have set up that file as a remote server folder in Dreamweaver and have been using the "put files" opton in the Site Files panel. So far the files are updating correctly and the website is working fine. However as I have been working I've noticed that files do not automatically delete from the remote folder when I delete them from my folder here. For instance if I change the name of a file or trash it entirely, a copy of that file still exists on the remote server after I use the
"put files" command.

What can I or should I be doing to have old files automatically delete themselves when I update the files from my hard drive to the remote site? Assuming that I am positive that any files that do not match those on my computer can be deleted.

Thanks for any suggestions you can come up with, in the mean time I will continue reading through the help files to see what I come up with.

pyro
06-16-2003, 08:22 AM
I don't think it is possible, how you are trying. I think what you have to do is set DW up to edit the files directly on the remote server, if you want to do that...

@work
06-16-2003, 09:05 AM
I've been reading through the help files and it indicates that you an use the sycronization tool, with the delete files option, to auto-delete files that are not found. But its not clear if it just deletes the files that do not exist in both folders or if it deletes any file that was not updated via sycronization. I'm gonna give that a shot now and see how it works.

Let me know if you can think of any other ideas that I can try.

Thanks again
-Jim

@work
06-16-2003, 09:42 AM
Well the sycronization option seems to be working well, its deleting server side files that are not found on my local computer...which is what I was looking for.

Now, one thing I have noticed is that the files now located on the server are all showing up as either an HTML or a TXT file. Problem is this includes the Adobe Illustrator and other file types that I would rather keep the correct extension. From what I've read this has something to do with the Put command stripping off one of the information forks so that any file I upload can be opened by a browser, even if its just a gibberish text file.

Now I asked my boss and he said it would be helpful if I could have the adobe illustrator files on there keep the correct filetype, but hes wondering if by doing so I will create problems with the .html and .txt files that I do want to keep as such.

What do you guys think?