FTP Files To Server

Jim Ault jimaultwins at yahoo.com
Fri Oct 23 14:34:50 EDT 2009


try

put url ("binfile:" & gInitialFolder & "/" & "az.bk") into url turl


On Oct 23, 2009, at 11:20 AM, Warren Kuhl wrote:

> I am running into a weird situation.  I have been uploading a backup  
> of a
> database to a server and everything was working file.  I decided to  
> change
> my host to hostgator.com and updated my program to reflect the  
> changes.
> Now, instead of my database backup, I am getting the path of the  
> datafile
> being uploaded.
>
> The command I am using is...
>
> put "ftp://tUserID:tpassword@ftp.mywebsite.com/www/az/" & tFile into  
> turl
> put url "binfile:" & (gInitialFolder & "/" & "az.bk") into url turl
>
> ....when I check az.bk on my server, it contains...
> E:/Program Files/az/az.bk
>
> ...instead of the database.  Any suggestions?
>
> Thanks for any help!
> Warren

Jim Ault
jimaultwins at yahoo.com






More information about the use-livecode mailing list