Ftp after render

What type of scripts do you need?

Moderator: byronnash

vidpat
Posts: 86
Joined: October 21st, 2004, 12:36 am
Location: Phoenix, AZ
Contact:

January 25th, 2005, 4:15 pm

I'll play around with it a bit more to see why it isn't moving on to put the file. Did it throw up an error about access to the local file or the transfer being unsuccessful? I need to find some more servers to test with as the four I've tried now work with the client.

The reason that there are two sockets/channels is that that is the way FTP works. TCP connections themselves are full duplex. In fact, in FTP, the control channel is biderectional, exchanging commands and responses. Only the actual file is transfered over the serparate connection.

Peter
Guest

January 25th, 2005, 4:54 pm

ah gotcha. What seems to be catching me whether its trying to connect ftp, telnet or mysql type connections is that I only seem to be able to properly read errry/ reply codes.

Ie: ftp from shell will yeild
[d:\system\4nt]ftp http://www.leapfrog-productions.com
Connected to http://www.leapfrog-productions.com.
220 pepe Microsoft FTP Service (Version 5.0).
User (http://www.leapfrog-productions.com:(none)):

yet all I can seem to get AE to catch is the 220 reply text?

Imp
vidpat
Posts: 86
Joined: October 21st, 2004, 12:36 am
Location: Phoenix, AZ
Contact:

January 25th, 2005, 7:03 pm

Often, much of what you see when using an FTP client from the shell is generated by the client as a human-readable description of the commands it is sending to the server or friendly interpretation of the server's response. What the server is actually sending is all that AE will see when reading from the socket. An FTP server only sends lines starting with a response code possibly followed by some human-readable text (or, in certain cases information that the client needs beyond the response code). For example, in the logfile from FTPConnection, the lines beginning with a "+" are what is being read from the server connection.

I don't know about the connection protocol of mySQL other than SQL statements.

Telnet just sends characters back and forth after the connection has been established. There really isn't an application level protocol. You could telnet into an FTP server and type commands and see how the server responds. Of course, you couldn't transfer a file because that would require a secondary data channel.

Hope this helps some.
User avatar
Disciple
Posts: 137
Joined: June 5th, 2004, 8:05 am
Location: Los Angeles, CA
Contact:

March 16th, 2005, 3:52 pm

Has anybody gotten a chance to interface this script with Byron's concept of website integration? In other words, AE renders and uploads, a .txt file is generated, uploaded aswell, and used to populate a database from which information can be retrived to create an HTML page for client viewing?

I'm working on a project for which this type of tool would be extremely cool to have.

Alex
User avatar
Disciple
Posts: 137
Joined: June 5th, 2004, 8:05 am
Location: Los Angeles, CA
Contact:

April 12th, 2005, 1:12 pm

Hello everybody

I'm still very curious to find out if anybody feels like connecting vidpat's "FTP after Render" script (see the top of this thread) with Byron's "Upload to Client"(http://www.aenhancers.com/viewtopic.php?t=98) scripts.

I'm always in need of something like this, and I think if I could get the script to
1/output the txt file and upload it to a specified destination
2/output the rendered movie and upload it
3/output a thumbnail and upload it
then the last step would be to get someone to write a php script to post the .txt data to a SQL db and generate a webpage from the data.

Anybody up to this?

Alex
vidpat
Posts: 86
Joined: October 21st, 2004, 12:36 am
Location: Phoenix, AZ
Contact:

August 18th, 2005, 5:55 pm

I am curious if anyone has had problems running these scripts on a Mac.

Specifically, I have had a report that, on a Mac, at most 64KB of a file has been transfered. On a PC, the entire file is transferred. Has anyone else run across this problem or have you been successful in sending more than 64KB?

Thanks for your help,
Peter
Post Reply