It opens the root folder, are you sure you have write permissions there? Perhaps you need to
ftp_chdir to a different folder first.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.