Posted: 22 Jun 2009 16:58 | ||
Registered User Currently Offline |
Posts: 3 Join Date: Jun 2009 |
|
Hello,
Setting up my first script, get the following when attempting to upload a file. 6/22/2009 7:52:30 AM: [ERR] Upload error - File handle could not be opened [3:Permission denied] Is this on the server end or local end? I should have full permissions. Also, is there a way to upload all files (*.* ?) versus specifying a single file? Thanks Rick |
Posted: 22 Jun 2009 17:53 | ||
Registered User Currently Offline |
Posts: 3 Join Date: Jun 2009 |
|
Resolved the upload error (problem with the SFTP server), but I cannot see a simple way of uploading all files found in one folder. Can you assist? |
Posted: 22 Jun 2009 19:42 | ||
Registered User Currently Offline |
Posts: 3 Join Date: Jun 2009 |
|
Figured out the uploading all files/folders. |
Posted: 24 Jun 2009 22:02 Last Edited By: sysaxsupport | ||
Moderator Currently Offline |
Posts: 367 Join Date: Nov 2008 |
|
The upload error is most likely due to another program having the file open for writing.
The scripting commands give you more control on specific files in a folder that you want to upload. Here is an example: ftpgetlist local, @locallist; foreach $item in @locallist begin if $item.name eq "*.txt" begin ftpupload file, $item.name; end end ------------------------------------------------ FTP Server Program for Windows |