Jump to content

Search the Community

Showing results for tags 'my network places'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Guys, Here's my issue. I have PDF's that I upload each day to my server and I'm trying to set up this FTP so that the script can handle it. I've read other post in this and other forums about how to write an ftp script and I'm still running into issues. This is what I've done so far. Using a FTP script, I can get a message in the Debug box that includes a return of letters and numbers. I think it is connecting. Sometimes when I change the server address as a test, It will throw back a "0" so I think I'm connecting the right way. The script doesn't try to upload the file though. it runs the script in less than 2 secs. $host = "ftp.MyWebsite.com" ; Hostname of the webserver (Can be a domain name or an IP) $user = "Username" ; FTP Username $pass = "Password" ; FTP Password $folder = "/targetfolder" ; This is the folder where your files will upload to $open = _FTP_Open("Myftp") $conn = _FTP_Connect($open, $host, $user, $pass,0,0) MsgBox(262144,'Debug line ~' & @ScriptLineNumber,'Selection:' & @lf & '_FTP_Connect($open, $host, $user, $pass,0,0)' & @lf & @lf & 'Return:' & @lf & _FTP_Connect($open, $host, $user, $pass,0,0)) ;### Debug MSGBOX _FTP_FilePut($conn, $myFile,$folder,0,0) _FTP_Close($open) I'm running a couple of external FTP programs. Filezilla which connects perfect to this site and another one that is spotty (sometimes it will connect and other times will throw me the middle finger). The latter of the two has a built in scheduler and that is the only reason I'm using it. I started looking around today and found that I can set up a FTP connection through Windows Explorer using "My Network Places". I tested it a few times and it transfers the file really well. I saved an icon on my desktop and noticed that I have to double click into the file for it to connect before it will actually transfer any files (I tried moving files to it (not from the script) and they failed to upload). Once I clicked the icon for the FTP and connected / open it, navigated to my files and moved them, they uploaded perfectly to the server. I guess I'm just seeking some direction on how you guys would fix this issue. Use the "My network Places" route or "writing out the ftp script" route. I would perfer to use the ftp script but I can't get it to transfer... Any help is always greatly appreciated. Rick B
×
×
  • Create New...