> Does any one have code or suggestions on using CFFTP to check an FTP 
> server to see if a file exists on the FTP server?
> 

I've never done this before, but just setup a test using <cfhttp>

<cfhttp url="http://208.106.220.252/somenonexistentpage.cfm"; result="thepage">

<cfdump var="#thepage#">

That gives me a statusCode variable "404 Not Found". I thought it'd error on a 
non-existent page, but it gives me the content of the 404. Interesting. Could 
you use that to check if the file exists? 

Will

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282413
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to