CFFTP upload from local machine
<cfset ftpurl=ftp.myserver.com>
<cfset ftpusername="myusername">
<cfset ftppassword="mypassowrd">
<cfset ftplocal="C:\Users\MyUser\Documents\MyFile.txt">
<cfset ftpremote="MyFile.txt">
<cfftp connection = "Myftp"
action = "PutFile"
localFile="#ftplocal#"
remoteFile="#ftpremote#"
failifexists="no"
passive = "Yes">
I use above code to copy a local file from local machine to FTP server.
I checked that the file exists and spelling is correct, but I got following error
(The system cannot find the path specified).
Any suggestions is great appreciated,
Regards,
Souries
