cfftp not recognizing c:/
This problem has been stumping me now for a week.
The issue:
I created an upload form on my website, and when i run it on my localhost, I can take my file from c:/mouse.jpg and put it on my FTP site through the below script. But when i run my script on my website which is hosted by GoDaddy it is not recognizing the filepath of C:/mouse.jpg . I get the error : Security: The requested template has been denied access to c:\mouse.jpg.
Godaddy says they aren't blocking any of the commands i am using. http://help.godaddy.com/article/547?
Why can it not recognize my harddrive path?
I know it is connecting to my server correctly because i can execute action = "LISTDIR" on both my localhost and the hosted site.
This has halted my progress of building my website severely! If someone can help me i would be so happy!
<p>Open a connection
<cfftp connection = "myConnection"
username = "myUsername"
password = "myPassword"
server = "ftp.richerconsulting.com"
action = "open"
stopOnError = "Yes"
passive="yes">
<p>Move Image File to Remote Server:<br></p>
<cfftp
connection = "myConnection"
action = "putFile"
name = "uploadFile"
transferMode = "binary"
localFile = "c:/mouse.jpg"
remoteFile = "test/mouse.jpg"
passive="yes"
>
<p>Did MOUSE succeed? <cfoutput>#cfftp.succeeded#</cfoutput>
<p>Close the connection:
<cfftp connection = "myConnection"
action = "close"
stopOnError = "Yes">
<p>Did it succeed? <cfoutput>#cfftp.succeeded#</cfoutput>
