$plugin = new WP_Query( array( 'connected_type' => 'functions_to_posts', 'connected_items' => get_queried_object(), 'nopaging' => true, ) ); if ( $plugin->have_posts() ) { while ( $plugin->have_posts() ) : $plugin->the_post(); $parent = $post; break; endwhile; } wp_reset_postdata(); echo '

Back to '.$parent->post_title.'

'; echo '

Back to '.$parent->post_title.' Functions

'; ?>


This function opens a connection to the FTP server set in the account you specify. After using this function, use FTPit_ChangeLocalDir/FTPitChangeRemoteDir to set the current directories, and then you can use the Download/Upload functions to transfer files. When you are done, use the FTPit_Disconnect function to close the connection.