Select Categories Below
Status: Closed Points: 125 Time: 12:57 - Feb 13, 2007
jgivoni
How do I avoid problems when working with files and directories that starts with a dot (like .htaccess)? I want to name some of my files like .example but this is giving me problems with the ftp client, that from time to time forgets that those files are on the server. That makes it quite difficult to work with folder compare/synchronize features. Could there be a way around this?
Categories:
Add Categories
When adding more than one category, separate them with commas.
Advertisement
dustPuppy
Date:: Feb 13, 2007
Time:: 13:51
i don't have an answer for that, but I suppose it depends on your operating system and the ftp program you use?
Time:: 14:12
My ftp client doesn't seem to have a setting for this, so I guess it is up to the server (it only happens in the remote folder). The server is running linux with some unknown ftp server.
Date:: Feb 17, 2007
Time:: 10:23
I've been reading about this and found that the normal policy of ftp servers is to hide any files or folders that begin with a dot. Which mean that if you ask the server to list the files and folders (LIST command) in a folder, it will not list these files. However you are still able to store and fetch them (upload/download) when you specify their name explicitly. Likewise, you can list the content of a folder, whose name starts with a dot, if you specify the name of the folder explicitly. My problem was (and I guess this could be the problem for most ftp clients) that when the client asks the server to list the content of a directory, and the result excludes hidden folders, the client will think that the folder is not there and therefore will not ask to list the content of the folder. A bit tricky, and a real problem, when trying to compare local and remote folders and syncronize them. The client would think that a whole folder of files have not been uploaded. The solution in my case was really simple though. If you add the -a switch to the list command (LIST -a), most ftp servers will honour the request to show ALL files and folders. I was lucky that my client had an option in the preferences to customize the list command. By simply typing -a in the LIST options box, everything is working like a charm. Other clients might not have this simple option or the server might not show dot-files even with the LIST -a command. If you have other solutions, please share them! Jakob
Time:: 13:08
glad you found the solution. Which ftp program are you using?
Time:: 13:16
"Beyond Compare" Great little tool, easy to use - only freezes from time to time. It's not only for ftp. It keeps your local files in sync as well.
Question Answered
This question has been closed, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for the Summary Area.
Answer this Question
New User
Email:
Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address
Registered User
Username:
Password:
Forgot Your Password?
Enter your email address below and we will resend your login information to you.
Login Information Sent
Questions
How do I vary the height of a frame depending on t...
Dynamically I created ASP.NET user control using A...
I want to delete a cookie of a different domain fr...
hover gallery.
How long does Google and MSN store emails that can...
Does the United States Government have a CIO posit...
You have 100 characters to use
Rank
Expert
Points
1.
6232
2.
4221
3.
3650
4.
2807
5.
2698
6.
1953
7.
1820
8.
1000
9.
812
10.
695
Register today to share your knowledge with the community and be recognized and rewarded for your contributions.
Register Here
"Psst, Quomon is a great site. Pass it on." Tell a Friend | Link To Us | Save to Delicious | Digg it
Language Options
English:
Español:
Sponsors
Questions and Answers Software Real Estate Postcards Marketing Fulfillment