| View previous topic :: View next topic |
| Author |
Message |
willyfoo
Joined: 03 Jun 2007 Posts: 25
|
Posted: Sun Feb 24, 2008 6:36 pm Post subject: Embed FTP Server |
|
|
I'm looking to embed a FTP server in my script and be able to get the filename after it's successfully uploaded for furthur processing.
Anybody has successfully done this already?? Or do I have to
- Run CommandLine FTP Server
- Monitor Folder for File
- Check if file is completed
I can use GuildFTPd to trigger a command once file is successfully uploaded but GuildFTPd needs to be installed and thus can't be embedded in AHK..
Any ideas? _________________ http://willyfoo.com
http://livestudios.sg |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Mon Feb 25, 2008 12:06 am Post subject: |
|
|
[OT]Your images (at the given links) are amazing![/OT]  |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2737 Location: Australia, Qld
|
|
| Back to top |
|
 |
willyfoo
Joined: 03 Jun 2007 Posts: 25
|
Posted: Mon Feb 25, 2008 2:24 am Post subject: |
|
|
The batch scripts are for uploading a file (client).. I want to setup a server to wait for files to be FTPed across. _________________ http://willyfoo.com
http://livestudios.sg |
|
| Back to top |
|
 |
willyfoo
Joined: 03 Jun 2007 Posts: 25
|
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 2737 Location: Australia, Qld
|
Posted: Mon Feb 25, 2008 3:38 am Post subject: |
|
|
| You could try implementing your own FTP server in AHK based on one of the TCP/IP examples, but it wouldn't be easy... |
|
| Back to top |
|
 |
willyfoo
Joined: 03 Jun 2007 Posts: 25
|
Posted: Mon Feb 25, 2008 5:11 am Post subject: |
|
|
Yeah.. it would seem a lot harder than just finding a suitable ftp server to embed ... hmm..
The I would have to detect a completely uploaded file ..
ExecNotificationQuery can let me know when a new file is added but how to check if it has finished?? (I'm receiving JPG files) _________________ http://willyfoo.com
http://livestudios.sg |
|
| Back to top |
|
 |
willyfoo1 Guest
|
Posted: Fri Oct 24, 2008 3:40 pm Post subject: FTP Server |
|
|
| Hmm.. still haven't found my solution after a year!! |
|
| Back to top |
|
 |
|