URL SCRIPT ERROR CODE
URL SCRIPT ERROR CODE
- Subject: URL SCRIPT ERROR CODE
- From: "Walsh, Dave (EDM_EXCHANGE)" <email@hidden>
- Date: Wed, 9 May 2001 08:06:28 -0600
When I run this script I get an URL Access Scripting error of type -3170.
My feeling is that it is a problem with the "/" in the username. Can anyone
confirm this for me before I contact the administrator of the ftp site.
Thank you
tell application "Finder"
with timeout of 12000 seconds
set thisfolder to (every file of folder "Classified PDF" of disk "FTP Ads"
whose name ends with ".pdf")
repeat with itemFile in thisfolder
set thisFile to (a reference to file (itemFile as string) as alias)
tell application "URL Access Scripting"
set this_URL to
"
ftp://user/name:email@hidden/firstfolder/secondfolder/"
upload thisFile to this_URL replacing yes with progress
end tell
end repeat
end timeout
end tell