Hello, Hopefully someone can help me with my applescript.
I am trying to upload a txt file to FTP with a simple script. I have done alot of research but cant get the file to upload correctly. The script is supposed to create the file, put it on the desktop, then copy the file to the FTP.
Here is my script:
do shell script "date >> $HOME/Desktop/Hannah.txt"
do shell script "curl -T $HOME/Desktop/Hannah.txt ftp://a8378467:mypassword@http://cas.site88.net//public_html/Hannah.txt > /dev/null 2>&1 &"
Any help appreciated..
Thanks
Matt
I am trying to upload a txt file to FTP with a simple script. I have done alot of research but cant get the file to upload correctly. The script is supposed to create the file, put it on the desktop, then copy the file to the FTP.
Here is my script:
do shell script "date >> $HOME/Desktop/Hannah.txt"
do shell script "curl -T $HOME/Desktop/Hannah.txt ftp://a8378467:mypassword@http://cas.site88.net//public_html/Hannah.txt > /dev/null 2>&1 &"
Any help appreciated..
Thanks
Matt