tricky, you'd have to use an HTTP Component that returns whether a file exists or not. But even that might not work because some web servers return 404, so you'd have to parse and see if the returned page contains 404.
for HTTP components try Mabry or Software Artisans.