I have tried these variations but cannot see why they all dont work, any ideas?
version 1 works
put "ftp://scali.co.uk:zxc@ftp.ajperks.co.uk ... erDrop.ico" into Serverpath
 put url Serverpath  into url "binfile:C:\Pt-G\WaterDrop.ico"
version 2 works
put url "ftp://scali.co.uk:zxc@ftp.ajperks.co.uk ... erDrop.ico"  into url "binfile:C:\Pt-G\WaterDrop.ico"
version 3 will not work it just puts a corrupt file of 221 bytes instead of the 46.54kbytes
put "ftp://scali.co.uk:zxc@ftp.ajperks.co.uk/Water/" into Serverpath
put url  Serverpath & "WaterDrop.ico" into url "binfile:C:\Pt-G\WaterDrop.ico"
Colours are only to show the differences
It makes a lot of difference in software maintenance in my case, so the answer is important.
			
			
									
									
						What is the difference?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: What is the difference?
You want it to complete the evaluation of serverpath & "WaterDrop.ico" first so try: 
			
			
									
									
						Code: Select all
put URL (serverpath & "WaterDrop.ico") into "binfile:C:\Pt-G\WaterDrop.ico"Re: What is the difference?
Exactamente 
			
			
									
									
						
