Jump to content

FTPGetFile help


burger
 Share

Recommended Posts

I attempting to download this CSV file without opening Excel.

http://www.mlindex.ml.com/GISPublic/bin/GI...dex%20Daily.csv

This is my code and though it appears to run OK, I'm not getting the download. Can it be done or am I attempting the impossible? Thanks for any help.

#include <FTP.au3>

$server = 'mlindex.ml.com/GISPublic/bin/'
;$file = 

$Open = _FTPOpen('MyFTP Control')
$Conn = _FTPConnect($Open, $server,"","",1)
$Goget = _FTPGetFile($Open,'GISFTP.asp?fn=US%20Index%20Daily.csv','c:\index.csv',2,-1,0,0)
$Ftpc = _FTPClose($Open)
Link to comment
Share on other sites

  • 2 weeks later...

Hi Guys

I am new to To Autoit and new to the forum.....

I want to be able to upload a file to my FTP site using autoit. I can pull in the filename to upload using iniread and indeed can copy to remote share using FileCopy but I want to upload it to to an FTP share.

Basically I guess I need the reverse of INetGet - Maybe and INetSend!!

Any thoughts

Thanks

Edited by MrA
Link to comment
Share on other sites

Hi Guys

I am new to To Autoit and new to the forum.....

I want to be able to upload a file to my FTP site using autoit. I can pull in the filename to upload using iniread and indeed can copy to remote share using FileCopy but I want to upload it to to an FTP share.

Basically I guess I need the reverse of INetGet - Maybe and INetSend!!

Any thoughts

Thanks

take a look at http://www.autoitscript.com/forum/index.php?showtopic=12473.

_FTPPutFile should be useful for what you are trying to accomplish.

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...