Sign in to follow this  
Followers 0
COD3369

How to upload Multiple Files on FTP server ??

5 posts in this topic

#include <File.au3>
#include <FTPEx.au3>

Local $sServer = 'server
Local $sUsername = 'aaaaaaa'
Local $sPass = 'taaaaa'

Local $hOpen = _FTP_Open('MyFTP Control')
Local $hConn = _FTP_Connect($hOpen, $sServer, $sUsername, $sPass)
_FTP_ProgressUpload ( $hConn, @ScriptDir & "\"&"*.*" , "/" & "*.*" )

on my current Local script directory has some files include: exe pdf html txt and psd

i want upload these all files on my server with there original name.

 

Share this post


Link to post
Share on other sites



10 views No Reply ???

Share this post


Link to post
Share on other sites

 

i want upload these all files on my server with there original name.

 

Don't think wildcard files selection is supported so you will have to do do file by file.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

I'd just upload them file by file. Also you have an unterminated string at the 3rd line.


Thanks for your help & have a good day. Yours sincerely, -Jonniy-  

Share this post


Link to post
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
Sign in to follow this  
Followers 0