PDA

View Full Version : FTP access



quixote
January 3rd, 2005, 10:52 AM
I'm looking for a way to upload camera images to an ftp site on a regular basis so that I can check them from anywhere. Is this possible with Girder, or do I just need to create a macro that uses an FTP program and enters my user name and password, etc?

Promixis
January 3rd, 2005, 11:43 AM
Marcel is the expert on this but I think you can do it with lua sockets. You may want to search here.

quixote
January 3rd, 2005, 11:46 AM
ok, I will thanks.

mhwlng
January 3rd, 2005, 12:01 PM
download luasocket-1.4.zip from :

http://www.tecgraf.puc-rio.br/luasocket/old/luasocket-1.4/
I think for ftp, you need to copy these to the lua directory :

code.lua
concat.lua
url.lua
ftp .lua

I have not tested this myself !!!!

Marcel

quixote
January 3rd, 2005, 12:30 PM
Well, I downloaded the file that you pointed to (thanks), and unzipped the files to my \girder\lua dir, but looking at the examples is scary. I don't even know where to start. All I want to do is upload a file called M-CAM.jpg from a directory on my drive every X minutes and overwrite the existing one. I have a username and password that I need to use as well. Is this a huge project, or is it a realistic goal for someone with minimal programming experience?

Grin Reaper
January 3rd, 2005, 02:46 PM
Well, I downloaded the file that you pointed to (thanks), and unzipped the files to my \girder\lua dir, but looking at the examples is scary. I don't even know where to start. All I want to do is upload a file called M-CAM.jpg from a directory on my drive every X minutes and overwrite the existing one. I have a username and password that I need to use as well. Is this a huge project, or is it a realistic goal for someone with minimal programming experience?

i dunno about using LUA, you could use a batch file (.bat or .cmd) and do this fairly quickly and just have girder call that batch file. so it's DEF. possible w/o much trouble... but doing it through LUA (which might be preferred), i'm not as sure about. maybe there's some sample LUA code somehwere that you'd just need to replace the user/pass server address, and file to upload.

VaioUserChris
January 3rd, 2005, 03:33 PM
You might give this a shot. Microsoft put out free programs called Power Toys for Windows XP which you can get here: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

One of them is for a web cam auto upload
Webcam Timershot
This PowerToy lets you take pictures at specified time intervals from a Webcam connected to your computer and save them to a location that you designate.


I haven't tried that one but it may do what you're looking for.

Chris

Grin Reaper
January 3rd, 2005, 11:23 PM
You might give this a shot. Microsoft put out free programs called Power Toys for Windows XP which you can get here: http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx

One of them is for a web cam auto upload
Webcam Timershot
This PowerToy lets you take pictures at specified time intervals from a Webcam connected to your computer and save them to a location that you designate.


I haven't tried that one but it may do what you're looking for.

Chris

i think he might already have it that far (file on HDD), he just needs to get that saved file on the HDD out to an FTP.

quixote
January 4th, 2005, 07:53 AM
I think I have found a very good way of going about this little dilemma, if anyone is interested. Thank you for your suggestions. The best way I can find is with a program called CuteFTP Pro by GlobalScape. It allows you to record macros into a .VBS file, then all I need to do is use Girder to execute the .VBS file. It works perfectly.

Grin Reaper
January 4th, 2005, 03:46 PM
I think I have found a very good way of going about this little dilemma, if anyone is interested. Thank you for your suggestions. The best way I can find is with a program called CuteFTP Pro by GlobalScape. It allows you to record macros into a .VBS file, then all I need to do is use Girder to execute the .VBS file. It works perfectly.

i remember cuteFTP from back when i had a geocities webpage, and it was the recommended (and completely free) FTP program. i still like it, hope it does you well.