08-26-2011 02:17 PM
Hello I am using LabVIEW ftp pushes to send files to another network location. I use the check if file or folder exists to ensure that the file was sent properly. Even when the file is in fact sent to the correct location this vi will always return false. This is LabVIEW version 8.2
08-26-2011 03:59 PM
Can you attach your code?
08-27-2011 03:41 PM
Doesn't Check if File or Folder Exists only work on the local machine? It wants a Path input, so if your file is "somewhere else", this VI is unlikely to find it, hence will return False. How are you doing the FTP? There does seem to be a VI called FTP Get Path Info that might work for you (is that what you're using?).
08-29-2011 07:28 AM
@BOB Schor wrote:
Doesn't Check if File or Folder Exists only work on the local machine? It wants a Path input, so if your file is "somewhere else", this VI is unlikely to find it, hence will return False. How are you doing the FTP? There does seem to be a VI called FTP Get Path Info that might work for you (is that what you're using?).
It depends what you mean by "local machine." The file can be on a network drive and it will work just fine. I don't know about FTP though.
08-29-2011 06:36 PM
Hi,
Have you checked what the VI returns for other known files on your network location? If the VI works correctly for other files, you could try adding a delay between moving the file and checking for the file. If you are unable to return true for known good files, you could try double checking the path you are looking for the files.
If you are still having trouble, could you post your code, or the relevant part of it? Are you getting an error out of the VI?
Hope this helps,
Luke B.