I'm working on an extension that indexes the content of the entry when publish form is submitted, but I need to know if the entry is a new one or an updated one, and in both case, I need the entry_id (the new one juste created or the old one).

Do you know a way to do that? Should I use an other hook?

--Solution--

In fact, entry_submission_end come with 3 parameters: entry_id, meta and data. If the entry is a new one, entry_id contains the new entry_id but $data['entry_id'] is 0, so you can have a condition on that to check if you are editing or creating an entry.


Question: RDP File transfer is really slow. Any way to speed it up?
Answer: I just had  the same trouble with RDP transfer.
Also, I had trouble setting up a windows share to transfer between windows machines.
So, I used the simple and well understood sftp protocol by using a free ssh/sftp server
http://www.bitvise.com/ssh-server-download
and an sftp/ssh client http://www.bitvise.com/ssh-client-download.
I transfered 300MB(megabytes) in 2 minutes.