revURLftpUpload

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
TR-i
Posts: 18
Joined: Fri Jul 21, 2006 4:06 am

revURLftpUpload

Post by TR-i » Sun Jan 28, 2007 3:08 am

Has anyone successfully communicated with an FTP server using 'revURLftpUpload' or 'revURLftpUploadFile' on a dual G5? I consistently receive Error 500 as a response, regardless of how I format the call.

I've downloaded stacks that use the URL command, but that doesn't seem to work either.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Location: Aalst, Belgium
Contact:

Post by Janschenkel » Tue Feb 06, 2007 12:42 pm

Hi TR-i,

Don't you mean 'libURLFTPUpload' and 'libURLFTPUploadFile' ?
Regardless, it depends on the server and protocol. The fact that you get a 500 error indicates that you're attempting to upload files to an HTTP server.

The URL library therefore assumes you're trying to upload the data or the file using the PUT HTTP-command. Few HTTP servers allow the use of the PUT command ebcause of inherent security issues.

Could you post the code you're using? It should be something like this:

Code: Select all

libURLFTPUploadFile tFilePath, "ftp://user:password@ftp.example.net/path"
Hope this helped,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply

Return to “Mac OS”