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.
revURLftpUpload
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Location: Aalst, Belgium
- Contact:
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:
Hope this helped,
Jan Schenkel.
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"
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com