How do I tell if the file I want to download is be - WeOnlyDo Discussion board

How do I tell if the file I want to download is be (General questions)

by Scott , Wednesday, December 14, 2005, 21:17 (6918 days ago)

I have used the listdir to a get alist of the files on the ftp site. One of files is opened up for writing and I receive an error trying to download the file. I would like to be able to see if the file is being written to before attempting to download the file.

Scott Schafer

Re: How do I tell if the file I want to download i

by wodSupport, Wednesday, December 14, 2005, 21:29 (6918 days ago) @ Scott

Scott,

I don't think there's some general way to do this in FTP protocol. Only thing you can do is to try to retrieve file. Different FTP servers may behave differently - some will allow you to download, some will report an error.