Jump to content



Photo

FTP Uploader


  • Please log in to reply
11 replies to this topic

#1 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 26 April 2009 - 09:02 PM

LAST VERSION - 1.1
27-Apr-09

Project closed.

The program is designed to upload your files to FTP server. Features of this program is much more than in this package. You can customize (before compile) FTP Uploader so that the address of the FTP server program gets directly from your site. You can create a folder on your FTP server in which will be stored the information about this server (logo and text data). FTP Uploader will display this data in the main window. It is possible to automatically update the program, specify limit to the size of uploadable files, and much more. I wrote this program not as a universal file uploader, namely to support its FTP server. If someone somewhere will be interested then let me know.


Posted Image



Posted Image Posted Image



Files to download

Installer (recommended)
Redirection to FTPUploader_setup.zip, 1.07 MB

Attached File  FTPUploader_setup.html   148bytes   184 downloads

Binary
Redirection to FTPUploader_bin.zip, 1.10 MB

Attached File  FTPUploader_bin.html   146bytes   164 downloads

Source
Redirection to FTPUploader_source.zip, 364 KB

Attached File  FTPUploader_source.html   149bytes   285 downloads

Edited by Yashied, 29 February 2012 - 09:24 PM.








#2 nugame

nugame

    Wayfarer

  • Active Members
  • Pip
  • 67 posts

Posted 27 July 2009 - 09:07 PM

Hi Yashied,

I have been working on some FTP automation tool. Got the basics built with some decision controls. Works pretty for my second development project. My next steps was to figure out the GUI design and controls. I searched this site for some ideas and help along. Found yours. While I am having problems using your program to evaluate, it looks quite interesting and you got some areas for me to consider in my design. Do you have an update with some fixes? one of many examples, _runweb() function and runtime error -1 (cannot redeclare a constant). I have been build mine with date/time comparison to avoid uploading same files and created text file(s) to for my FTP program to read if elected. This would be use if one wants to create custom FTP upload files.

Can you advise? thanks.
Dr SherlockAlways a way

#3 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 29 July 2009 - 06:56 PM

Hi Yashied,

I have been working on some FTP automation tool. Got the basics built with some decision controls. Works pretty for my second development project. My next steps was to figure out the GUI design and controls. I searched this site for some ideas and help along. Found yours. While I am having problems using your program to evaluate, it looks quite interesting and you got some areas for me to consider in my design. Do you have an update with some fixes? one of many examples, _runweb() function and runtime error -1 (cannot redeclare a constant). I have been build mine with date/time comparison to avoid uploading same files and created text file(s) to for my FTP program to read if elected. This would be use if one wants to create custom FTP upload files.

Can you advise? thanks.

Hi nugame.

I fixed this mistake. Ah, if I wrote this program now, I would have made a lot of other. If you are interested in something specific, ask, I'll try to answer. Basically, this program is designed to support a particular FTP server. Here`s an example. If you are interested, I can help to configure FTP Uploader to your server.

Edited by Yashied, 29 July 2009 - 06:58 PM.


#4 NS5

NS5

    Seeker

  • Active Members
  • 28 posts

Posted 25 September 2009 - 08:24 PM

Good work Yashied!, though I was looking to convert this uploader without the GUI could you direct where can I change it? Thanks in advance Yashied

Edited by NS5, 25 September 2009 - 08:33 PM.


#5 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 25 September 2009 - 08:32 PM

Good work Yashied!, though I was looking to convert this uploader without the GUI. Where in HOST, USERNAME, PASSWORD and FILENAME to be set to Default. I already manage to change the Host, Username and Password, now I need to make the filename to be default e.g @MYDOCUMENT /test.txt could you direct where can I change it? Thanks in advance Yashied


What do you mean "filename to be default"?

#6 NS5

NS5

    Seeker

  • Active Members
  • 28 posts

Posted 25 September 2009 - 08:47 PM

What do you mean "filename to be default"?

Hi sorry about that, already manage to set it to a default file I wanted to send. Now I only need to remove the GUI interface. Meaning once I call this exe it will just run by itself and send the file to my ftp server no questions ask or GUI. :D

Edited by NS5, 25 September 2009 - 08:48 PM.


#7 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 25 September 2009 - 08:52 PM

Hi sorry about that, already manage to set it to a default file I wanted to send. Now I only need to remove the GUI interface. Meaning once I call this exe it will just run by itself and send the file to my ftp server no questions ask or GUI. :D

In this case, why do not you use just _FTP_PutFile()?

Edited by Yashied, 25 September 2009 - 08:57 PM.


#8 NS5

NS5

    Seeker

  • Active Members
  • 28 posts

Posted 25 September 2009 - 08:58 PM

Oh I don't have the idea where to find _FTP_PutFile() :D

#9 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 25 September 2009 - 09:01 PM

#Include <FTP.au3> Global Const $Host = '' Global Const $Login = '' Global Const $Password = '' _FTP_Startup() $hFtp = _FTP_Open('MyFtp') $hSession = _FTP_Connect($hFtp, $Host, $Login, $Password) _FTP_PutFile($hSession, 'test.txt', 'test.txt') _FTP_Disconnect($hSession) _FTP_Close($hFtp) _FTP_Shutdown()

FTP.au3

EDIT:

Another way: File Transfer Protocol Automation Object.

Edited by Yashied, 25 September 2009 - 09:07 PM.


#10 NS5

NS5

    Seeker

  • Active Members
  • 28 posts

Posted 25 September 2009 - 09:23 PM

woah! Great! Many Thanks!

#11 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,512 posts

Posted 25 September 2009 - 09:26 PM

This is a simple example for the SAPIEN FTP ActiveX. (Great module!)

AutoIt         
Opt('MustDeclareVars', 1) Global Const $Host = '' Global Const $Login = '' Global Const $Password = '' Global Const $Port = 21 Global Const $Passive = True Global Const $Local = 'C:\MyFiles\test.txt' Global Const $Remote = '/MyDir/test.txt' Global $oFtp = 0 $oFtp = ObjCreate('Primalscript.FTPTransfer') If @error Then     _Quit(10) EndIf $oFtp.Passive = $Passive $oFtp.Port = $Port If Not $oFtp.Connect($Host, $Login, $Password) Then     _Quit(11) EndIf If Not $oFtp.Put($Remote, $Local) Then     _Quit(12) EndIf Func _Quit($iCode)     If IsObj($oFtp) Then         $oFtp.Disconnect     EndIf     Exit($iCode) EndFunc   ;==>_Quit

Edited by Yashied, 25 September 2009 - 09:31 PM.


#12 Lupo73

Lupo73

    Adventurer

  • Active Members
  • PipPip
  • 123 posts

Posted 25 January 2012 - 09:44 AM

The Uploader is not available, could you reupload it? thanks!
AutoIt functions: SFTPEx, _DateTimeStandard()Lupo PenSuite: all-in-one and completely free selection of portable programs and games.DropIt: application to process your files with a drop.ArcThemALL!: application to multi-archive your files and folders.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users