ftp upload by URL Access Scripting problem

Hi, I’ve got a strange problem as caption. i made a Applescript and attached to folder actons for upload files from Tiger 10.4.6 to NT.4.0:

on adding folder items to this_folder after receiving these_items
set the item_count to the number of items in the these_items
if the item_count is greater than 0 then
with timeout of 300 seconds
tell application “URL Access Scripting”
activate
repeat with i from 1 to number of items in these_items
set this_item to item i of these_items
upload this_item to “ftp://username:password@path/
end repeat
disconnect
end tell
end timeout
end if
end adding folder items to

Actually, the connection is fine if file size is smaller than 50MB, but when i drop a file which size is larger than 50MB, the ftp transmission will stop at 43-45MB in NT.

i’ve been try to removed “with timeout of 300 seconds”, then most strange happen: if file size is larger then 40MB, NT will non stop extending the file size until i force kill “URL Access Scripting” at Mac.

Anybody can help me please? Thank you very much!!!

Keung

Model: G4 450
AppleScript: 1.10.6
Browser: Safari 417.9.2
Operating System: Mac OS X (10.4)

Sounds more like an NT problem that a problem with your script. You should read the man pages at that end of the transfer.

Thanks for reply, Adam. ah… i’ve got the same issue at WINDOWS 2000 server. So, can i say there is a limitation between Mac and WINDOWS when file transfer via URL scripting? Please help me if anyone having hints or solution… please and thanks.

PS. i dont wanna install third party ftp client instead of OSX native function…
Thanks again and again…
Keung