Re: Query on FTP commands - WeOnlyDo Discussion board

Re: Query on FTP commands (General questions)

by 2BS, Wednesday, September 01, 2004, 03:35 (7387 days ago) @ wodSupport

> - How do you change directory and get the current directory?

You don't!

But how do I check if a directory exists? At present I just go to that directory, and if it fails, then it doesn't exist. Not airtight I know (because it may be security reasons, and not that it doesn't exist).

- If the modification date & time for a file is changed, and the server supports MDTM set, will the date & time be set?
No, it will not. But we're open to suggestions on adding new features. So, if you need this - we can add it (free of charge).

I would certainly need this. This is for a file synchronization/backup program, so it's critical that the modification date & time of files are changed correctly.

Thanks for answering, but I've got a couple more questions:

- Is it thread safe? i.e. can I have multiple threads each with their own instance of the FTP component?

- If the connection is dropped, and I reconnect, is the DirList property cleared? It's important to me that it isn't - strange request I know, but it'd take a long time to explain why [:wink:]

Thanks


Complete thread: