FTP a file to the www directory
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Fri Dec 16 18:58:41 EST 2011
Hi Jacque,
an ftp account normally has access to one folder and its subfolders.
On on-rev for example the main ftp account points to the main folder in which the public_html folder and other system folders resides.
In this case you would use
ibURLftpUploadFile "/mystuff/test.data","ftp://jacque:yourpassword@jacque.on-rev.com/public_html/test.data"
to upload the file test.data from folder /mystuff into the public_html folder on your on-rev account.
Regards,
Matthias
Am 17.12.2011 um 00:52 schrieb J. Landman Gay:
> On 12/16/11 5:05 PM, Mark Schonewille wrote:
>> Oh... sorry... now I realise that's what you tried already
>> (LibURLftpUploadFile). What do you mean, outside the www directory?
>> Isn't that always how FTP works? Otherwise, people would get very
>> strange results when they try to access the file.
>
> I need to upload the file to the www directory. FTP won't upload there so I'm looking for a solution.
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list