Jump to content

Uploading Files using AutoIt


Recommended Posts

  • Developers

When you use FTP the UDF should work fine. I have used it several times.

What is the problem/error you are getting when uploading ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

$server = 'xxx'

$username = 'xxx'

$pass = 'xxx'

$Open = _FTPOpen('MyFTP Control')

If @error Then

MsgBox(64, "x", "xyz")

EndIf

$Conn = _FTPConnect($Open, $server, $username, $pass)

If @error Then

MsgBox(64, "x", "xy")

EndIf

=> There is alway the msgbox "x" containing "xy" - username, password and server are correct.

// When i try a nother server it doesnt work as well -.-

Edited by AutoProgramming

[u]My OpenSource Projects:[/u]- [BEEP] proMusiX- Search autorun.inf

Link to comment
Share on other sites

$server = 'xxx'

$username = 'xxx'

$pass = 'xxx'

$Open = _FTPOpen('MyFTP Control')

If @error Then

MsgBox(64, "x", "xyz")

EndIf

$Conn = _FTPConnect($Open, $server, $username, $pass)

If @error Then

MsgBox(64, "x", "xy")

EndIf

=> There is alway the msgbox "x" containing "xy" - username, password and server are correct.

// When i try a nother server it doesnt work as well -.-

The server name for FTP can be different to the URL you would use in a browser in case you did not realise that.

Have you been able to use any ftp transfers with another program such as

Core FTP LE (free from http://www.coreftp.com/) or CuteFTP which I think is also freeware?

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

$server = 'xxx'

$username = 'xxx'

$pass = 'xxx'

$Open = _FTPOpen('MyFTP Control')

If @error Then

MsgBox(64, "x", "xyz")

EndIf

$Conn = _FTPConnect($Open, $server, $username, $pass)

If @error Then

MsgBox(64, "x", "xy")

EndIf

=> There is alway the msgbox "x" containing "xy" - username, password and server are correct.

// When i try a nother server it doesnt work as well -.-

add :

DllOpen('wininet.dll')

[quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys

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...