I am running a script that ftp's a series of files to a remote server. Most everything runs fine but i get an error when i try to ftp the entire oscommerce directory. Attached is the script that handles everything. On line 405, i get this error. Warning: ftp_put() expects parameter 1 to be resource, null given in /home/basicsbu/public_html/sitebuilder/[url removed, login to view] on line 405 Is $conn_id now NULL? and if so, why does it work for the other ftp_put functions? I havent closed it yet. This script is running on php 5 (i think).